textButton method
Text button (low emphasis) Text buttons are typically used for less important actions. Widget to be converted to a Material.IO Widget TextButton.
Implementation
Widget textButton(
BuildContext context, {
required void Function()? onPressed,
}) =>
TextButton(onPressed: onPressed, child: this);