Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Table_calendar | 1,512 | 21 | 2 | 11 days ago | 48 | May 29, 2022 | 63 | apache-2.0 | Dart | |
Highly customizable, feature-packed calendar widget for Flutter | ||||||||||
Flutter_calendar_carousel | 754 | 23 | 1 | 6 days ago | 89 | July 12, 2022 | 3 | mit | Dart | |
Calendar widget for flutter that is swipeable horizontally. This widget can help you build your own calendar widget highly customizable. | ||||||||||
Flutter_custom_calendar | 384 | 3 years ago | 35 | bsd-2-clause | Dart | |||||
Flutter的一个日历控件 | ||||||||||
Flutter Timeline | 293 | a year ago | n,ull | mit | Dart | |||||
⌚️ A general flutter timeline widget based on real-world application references | ||||||||||
Flutter_calendar | 291 | 21 | 4 years ago | 9 | January 06, 2020 | 25 | bsd-2-clause | Dart | ||
A calendar widget for Flutter. | ||||||||||
Flutter_calendar_view | 278 | 4 days ago | 5 | June 02, 2022 | 24 | mit | Dart | |||
A Flutter package allows you to easily implement all calendar UI and calendar event functionality. 👌🔝🎉 | ||||||||||
Timetable | 278 | 2 months ago | 24 | August 19, 2022 | 28 | apache-2.0 | Dart | |||
📅 Customizable flutter calendar widget including day and week views | ||||||||||
Flutterweekview | 196 | 6 days ago | 25 | May 19, 2022 | 10 | mit | Dart | |||
Displays a highly customizable week view (or day view) which is able to display events, to be scrolled, to be zoomed-in & out and a lot more ! | ||||||||||
Flutter_calendar_strip | 175 | 2 | a year ago | 8 | October 22, 2020 | 14 | bsd-3-clause | Dart | ||
A Flutter Calendar Strip Widget | ||||||||||
Flutter_calendar | 158 | 1 | a year ago | 15 | October 18, 2021 | 16 | bsd-2-clause | Dart | ||
Calendar widget for flutter |
Shows a scrolling calendar list of events. This is still relatively basic, it always assumes that the getEvents returns the entire list of calendar events (mostly ignoring the values passed into the source). It does work however :) Optionally, you can use an image as a background for the calendar header and another image for the month header.
The calendar uses slivers to display the widgets in the view and lets you scroll forward and backward through the events. The header widget will drop down and open up the days of the month, letting you select specific days as well as move back and forth between the months. By default it displays a list of events and not a day view, the day view code is all just a stub right now.
Here is how to use the calendar widget itself:
new CalendarWidget(
initialDate: new TZDateTime.now(local),
buildItem: buildItem,
getEvents: getEvents,
);
How to setup a source for the calendar widget.
...
List<Game> _listToShow;
StreamSubscription<UpdateReason> _listening;
@override
Widget buildItem(BuildContext context, CalendarEvent event) {
return new GameCard(_listToShow[event.index]);
}
@override
List<CalendarEvent> getEvents(DateTime start, DateTime end) {
if (_listToShow == null) {
_listToShow = UserDatabaseData.instance.games.values.toList();
}
if (_listToShow == null) {
return [];
}
List<CalendarEvent> events = new List<CalendarEvent>();
int pos = 0;
_listToShow.forEach((Game g) => events.add(new CalendarEvent(
instant: g.tzTime, instantEnd: g.tzEndTime, index: pos++)));
return events;
}
...
Example of the calendar widget in action:
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.