FormatButton constructor

const FormatButton({
  1. Key? key,
  2. required CalendarFormat calendarFormat,
  3. required ValueChanged<CalendarFormat> onTap,
  4. required TextStyle textStyle,
  5. required BoxDecoration decoration,
  6. required EdgeInsets padding,
  7. required bool showsNextFormat,
  8. required Map<CalendarFormat, String> availableCalendarFormats,
})

Implementation

const FormatButton({
  Key? key,
  required this.calendarFormat,
  required this.onTap,
  required this.textStyle,
  required this.decoration,
  required this.padding,
  required this.showsNextFormat,
  required this.availableCalendarFormats,
}) : super(key: key);