themeStyleOf method

ButtonStyle? themeStyleOf(
  1. BuildContext context
)

Returns the MenuButtonThemeData.style of the closest MenuButtonTheme ancestor.

Implementation

ButtonStyle? themeStyleOf(BuildContext context) {
  return MenuButtonTheme.of(context).style;
}