textButton method

TextButton textButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. VoidCallback? onLongPress,
  4. ValueChanged<bool>? onHover,
  5. ValueChanged<bool>? onFocusChange,
  6. ButtonStyle? style,
  7. FocusNode? focusNode,
  8. bool? autofocus,
  9. Clip? clipBehavior,
  10. WidgetStatesController? statesController,
})

Implementation

TextButton textButton({
  Key? key,
  required VoidCallback? onPressed,
  VoidCallback? onLongPress,
  ValueChanged<bool>? onHover,
  ValueChanged<bool>? onFocusChange,
  ButtonStyle? style,
  FocusNode? focusNode,
  bool? autofocus,
  Clip? clipBehavior,
  WidgetStatesController? statesController,
}) => TextButton(
  key: key,
  onPressed: onPressed,
  onLongPress: onLongPress,
  onHover: onHover,
  onFocusChange: onFocusChange,
  style: style,
  focusNode: focusNode,
  autofocus: autofocus ?? false,
  clipBehavior: clipBehavior,
  statesController: statesController,
  child: this,
);