FormatButton constructor
const
FormatButton({
- Key? key,
- required CalendarFormat calendarFormat,
- required ValueChanged<
CalendarFormat> onTap, - required TextStyle textStyle,
- required BoxDecoration decoration,
- required EdgeInsets padding,
- required bool showsNextFormat,
- 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);