style static method

TextButton style(
  1. ButtonStyle buttonStyle
)

Implementation

static TextButton style(ButtonStyle buttonStyle) => TextButton(
      child: const SizedBox.shrink(),
      onPressed: null,
      style: buttonStyle,
    );