themeStyleOf method Null safety
- BuildContext context
override
Returns the TextButtonThemeData.style of the closest TextButtonTheme ancestor.
Implementation
@override
ButtonStyle? themeStyleOf(BuildContext context) {
return TextButtonTheme.of(context).style;
}