bar_calendar 0.0.5
bar_calendar: ^0.0.5 copied to clipboard
A package that allows the creation of event-based project calendars.
This package allows the creation of event-based project calendars.
Installing: #
In your pubspec.yaml
dependencies:
bar_calendar: ^0.0.5
import 'package:bar_calendar/bar_calendar.dart';
Basic Usage: #
BarCalendar(
backgroundColor: Colors.grey.withOpacity(.4),
events: [
CalendarEvent(
title: 'First Event',
start: DateTime.now(),
end: DateTime.now().add(const Duration(days: 8))),
CalendarEvent(
title: 'Second Event',
start: DateTime.now(),
end: DateTime.now().add(const Duration(days: 8))),
CalendarEvent(
title: 'Third Event',
eventBarSize: EventBarSize.large,
start: DateTime.now().subtract(const Duration(days: 3)),
end: DateTime.now().add(const Duration(days: 10)))
],
)