TextButtonModifier constructor

const TextButtonModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required VoidCallback? onPressed,
  5. VoidCallback? onLongPress,
  6. ValueChanged<bool>? onHover,
  7. ValueChanged<bool>? onFocusChange,
  8. ButtonStyle? style,
  9. FocusNode? focusNode,
  10. bool autofocus = false,
  11. Clip clipBehavior = Clip.none,
  12. 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,
});