0 purchases
calendar plus
Calendar Plus #
A highly customizable calendar template for Flutter.
Getting started #
In the pubspec.yaml of your flutter project, add the following dependency:
dependencies:
...
calendar_plus: <latest_version>
copied to clipboard
In your library add the following import:
import 'package:calendar_plus/calendar_plus.dart';
copied to clipboard
Example #
CalendarPlus(
displayRowCount: 10,
controller: controller,
cellBuilder: (context, date) {
return Material(
shape: CircleBorder(),
color: isSameDay(date)
? Colors.blue
: Colors.transparent,
child: InkWell(
hoverColor: Colors.grey.shade200,
customBorder: CircleBorder(),
onTap: () {},
child: Center(
child: Text(date.toString()),
),
),
);
},
);
copied to clipboard
Authors #
@lucasbstn
Contributing #
Contributions are welcome!
If you want to contribute code please create a PR
If you find a bug or want a feature, please fill an issue
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.