themeStyleOf method
- BuildContext context
Returns the MenuButtonThemeData.style of the closest MenuButtonTheme ancestor.
Implementation
ButtonStyle? themeStyleOf(BuildContext context) {
return MenuButtonTheme.of(context).style;
}
Returns the MenuButtonThemeData.style of the closest MenuButtonTheme ancestor.
ButtonStyle? themeStyleOf(BuildContext context) {
return MenuButtonTheme.of(context).style;
}