themeStyleOf method

  1. @override
ButtonStyle? themeStyleOf(
  1. BuildContext context
)
override

Returns the TextButtonThemeData.style of the closest TextButtonTheme ancestor.

Implementation

@override
ButtonStyle? themeStyleOf(BuildContext context) {
  return TextButtonTheme.of(context).style;
}