YearPicker constructor
const
YearPicker({
- required CalendarDatePicker2Config config,
- required List<
DateTime?> selectedDates, - required ValueChanged<
DateTime> onChanged, - required DateTime initialMonth,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- Key? key,
Creates a year picker.
Implementation
const YearPicker({
required this.config,
required this.selectedDates,
required this.onChanged,
required this.initialMonth,
this.dragStartBehavior = DragStartBehavior.start,
Key? key,
}) : super(key: key);