A calendar widget for Flutter Apps.
Borrowed DateTime utility functions from the Tzolkin Calendar web element.
Add to your pubspec dependencies:
flutter_calendar: ^0.0.1
Render the map with one of three options:
new Calendar()
new Calendar(
isExpandable: true;
)
new Calendar(
// A builder function that renders each calendar tile how you'd like.
dayBuilder: (BuildContext context, DateTime day) {
return new Text("!");
},
)
// Three optional params:
final VoidCallback onDateSelected;
final bool isExpandable;
final Widget dayBuilder;