# flutter_clean_calendar **Repository Path**: LiGuo_/flutter_clean_calendar ## Basic Information - **Project Name**: flutter_clean_calendar - **Description**: No description available - **Primary Language**: Dart - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-09-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # flutter_clean_calendar Simple flutter calendar based on flutter_calendar package. Thanks to @AppleEducate for his contributions. You can pull up and down the calendar to show between weekly/monthly calendar. It shows the number of events for thats specific date. It shows the already Done events in other color ![Screenshot](https://github.com/pmcarlos/flutter_clean_Calendar/blob/master/screenshot.png) ![Screenshot](https://github.com/pmcarlos/flutter_clean_Calendar/blob/master/calendar.gif) ## Properties ``` { onDateSelected: function, //receives a DateTime onRangeSelected: function, //receives to, from as DateTime isExpandable: bool, //can expand dayBuilder: (BuildContext context, DateTime day) {}, //return inside a widget to render showArrows: bool, //show arrows to change month/week showTodayIcon: bool, //show today icon to focus calendar on today events: Map, //map of events to display bullets on each day with events selectedColor: Color, //set the circle background for selected day if not uses the primaryColor eventColor: Color, //set the event dot color, if not uses the accentColor eventDoneColor: Color, //set the event dot color for already Done events, if not uses the accentColor } event List // add isDone to each event to change color for done events ``` Sample event data ``` final Map _events = { DateTime(2019, 3, 1): ['Event A', 'Event B', 'Event C'], DateTime(2019, 3, 4): ['Event A'], DateTime(2019, 3, 5): ['Event B', 'Event C'], DateTime(2019, 3, 13): ['Event A', 'Event B', 'Event C'], DateTime(2019, 3, 15): [ 'Event A', 'Event B', 'Event C', 'Event D', 'Event E', 'Event F', 'Event G' ], DateTime(2019, 2, 26): ['Event A', 'Event A', 'Event B'], DateTime(2019, 2, 18): ['Event A', 'Event A', 'Event B'], }; ```