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