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!