ButtonStyleButtonModifier constructor
const
ButtonStyleButtonModifier({
- Key? key,
- Key? modifierKey,
- Widget? child,
- required VoidCallback? onPressed,
- required VoidCallback? onLongPress,
- required ValueChanged<
bool> ? onHover, - required ValueChanged<
bool> ? onFocusChange, - required ButtonStyle? style,
- required FocusNode? focusNode,
- required bool autofocus,
- required Clip clipBehavior,
- MaterialStatesController? statesController,
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
Implementation
const ButtonStyleButtonModifier({
super.key,
super.modifierKey,
super.child,
required this.onPressed,
required this.onLongPress,
required this.onHover,
required this.onFocusChange,
required this.style,
required this.focusNode,
required this.autofocus,
required this.clipBehavior,
this.statesController,
});