WeekdayButton constructor
const
WeekdayButton({
- Key? key,
- required String text,
- required String tooltip,
- required VoidCallback? onPressed,
- required bool? selected,
- bool? enableFeedback,
- Color? color,
- Color? selectedColor,
- Color? disabledColor,
- Color? fillColor,
- Color? selectedFillColor,
- Color? disabledFillColor,
- double? elevation,
- double? selectedElevation,
- double? disabledElevation,
- Color? focusColor,
- Color? selectedFocusColor,
- Color? hoverColor,
- Color? selectedHoverColor,
- Color? splashColor,
- Color? selectedSplashColor,
- TextStyle? textStyle,
- TextStyle? selectedTextStyle,
- TextStyle? disabledTextStyle,
- ShapeBorder? shape,
- ShapeBorder? selectedShape,
- ShapeBorder? disabledShape,
Creates a WeekdayButton widget.
Implementation
const WeekdayButton({
Key? key,
required this.text,
required this.tooltip,
required this.onPressed,
required this.selected,
this.enableFeedback,
this.color,
this.selectedColor,
this.disabledColor,
this.fillColor,
this.selectedFillColor,
this.disabledFillColor,
this.elevation,
this.selectedElevation,
this.disabledElevation,
this.focusColor,
this.selectedFocusColor,
this.hoverColor,
this.selectedHoverColor,
this.splashColor,
this.selectedSplashColor,
this.textStyle,
this.selectedTextStyle,
this.disabledTextStyle,
this.shape,
this.selectedShape,
this.disabledShape,
}) : assert(text.length != 0),
assert(tooltip.length != 0),
super(key: key);