English | 简体中文
A calendar plugin for Flutter
Added on pubspec.yaml file dependencies
full_calendar: ^0.0.1
Run in your terminal
flutter packages get
FullCalendar(
min: DateTime(2018),
max: DateTime(2021),
onChange: (value) {
print(value);
},
),
value
DateTime
- The time currently selected
min
DateTime
- The minimum time
max
DateTime
- Maximum time
onChange
void Function(DateTime)
- A callback after selecting the time
- Single time selection
- [] Multiple time selection
- [] Time period selection
- [] Custom theme