CalendarTopBar constructor

CalendarTopBar({
  1. required YearMonth yearMonth,
  2. required YearMonthRange range,
  3. required void onPrevious(),
  4. required void onNext(),
  5. Axis barOrientation = Axis.horizontal,
  6. CalendarTopBarStyle? style,
  7. String? locale,
})

Create top bar of the calendar

Implementation

CalendarTopBar(
    {required this.yearMonth,
    required this.range,
    required this.onPrevious,
    required this.onNext,
    this.barOrientation = Axis.horizontal,
    this.style,
    this.locale});