OutlinedButtonModifier constructor
const
OutlinedButtonModifier({
- Key? key,
- Widget? child,
- Key? modifierKey,
- required VoidCallback? onPressed,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - ButtonStyle? style,
- FocusNode? focusNode,
- bool autofocus = false,
- Clip clipBehavior = Clip.none,
- MaterialStatesController? statesController,
Create an OutlinedButton.
The autofocus
and clipBehavior
arguments must not be null.
Implementation
const OutlinedButtonModifier({
super.key,
super.child,
super.modifierKey,
required this.onPressed,
this.onLongPress,
this.onHover,
this.onFocusChange,
this.style,
this.focusNode,
this.autofocus = false,
this.clipBehavior = Clip.none,
this.statesController,
});