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