themeStyleOf method

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

Returns the FilledButtonThemeData.style of the closest FilledButtonTheme ancestor.

Implementation

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