An easy to use and customizable calendar for Flutter.
The calendar can be used with the provided AlertDialog or as a Widget embedded the way you want. It allows single, multi and range selection.
Add to pubspec.yaml
in dependencies
awesome_calendar: ^1.0.1
final List<DateTime>? picked = await showDialog<List<DateTime>>(
context: context,
builder: (BuildContext context) {
return const AwesomeCalendarDialog(
selectionMode: SelectionMode.MULTI,
canToggleRangeSelection: true,
);
},
);
Check out examples to see more usage samples
The dates are translated automatically according to your Intl.defaultLocale
value, the other string values can be overriden in the constructor.
If you found this project useful, then please consider giving it a ⭐️ on Github and sharing it with your friends.
If you have any suggestion for including a feature or if something doesn't work, feel free to open a Github issue for us to have a discussion on it.