buttonText static method

Widget buttonText({
  1. required VoidCallback? onPressed,
  2. required bool autofocus,
  3. required Widget child,
})

Implementation

static Widget buttonText({required VoidCallback? onPressed, required bool autofocus, required Widget child}) =>
    TextButton(onPressed: onPressed, autofocus: autofocus, child: child);