v1.1.3awesome_calendar
一个易于使用且可自定义的 Flutter 日历,支持单选、多选和范围选择
一个易于使用且可自定义的 Flutter 日历。支持单选、多选和范围选择。
^1.15.0{"sdk":"flutter"}^0.17.0^1.0.4{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
https://img.shields.io/github/license/molteo-engineering-team/awesome_calendar https://img.shields.io/pub/v/awesome_calendar
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.
https://github.com/molteo-engineering-team/awesome_calendar/blob/main/demo.gif
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: https://github.com/molteo-engineering-team/awesome_calendar
If you have any suggestions for including a feature or if something doesn't work, feel free to open a Github issue or to open a pull request, you are more than welcome to contribute!