TextButtonModifier constructor
const
TextButtonModifier({
- 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 a TextButton.
The autofocus
and clipBehavior
arguments must not be null.
Implementation
const TextButtonModifier({
super.key,
super.child,
super.modifierKey,
required super.onPressed,
super.onLongPress,
super.onHover,
super.onFocusChange,
super.style,
super.focusNode,
super.autofocus = false,
super.clipBehavior = Clip.none,
super.statesController,
});