YearCalendar constructor

const YearCalendar({
  1. Key? key,
  2. required int yearSelectStart,
  3. required int value,
  4. required ValueChanged<int> onChanged,
  5. DateTime? now,
  6. CalendarValue? calendarValue,
  7. DateStateBuilder? stateBuilder,
})

Implementation

const YearCalendar({
  super.key,
  required this.yearSelectStart,
  required this.value,
  required this.onChanged,
  this.now,
  this.calendarValue,
  this.stateBuilder,
});