YearPicker constructor
const
YearPicker({
- required DateTime firstDate,
- required DateTime lastDate,
- required DateTime initialDate,
- required DateTime selectedDate,
- required ValueChanged<
DateTime> onYearSelected, - required ValueChanged<
DateTime> onPageChanged, - SelectableMonthYearPredicate? selectableMonthYearPredicate,
- Key? key,
Implementation
const YearPicker({
required this.firstDate,
required this.lastDate,
required this.initialDate,
required this.selectedDate,
required this.onYearSelected,
required this.onPageChanged,
this.selectableMonthYearPredicate,
Key? key,
}) : super(key: key);