style property

ButtonStyle? style
final

Overrides for SubmenuButton and MenuItemButton's default style.

Non-null properties or non-null resolved MaterialStateProperty values override the ButtonStyle returned by SubmenuButton.defaultStyleOf or MenuItemButton.defaultStyleOf.

If style is null, then this theme doesn't override anything.

Implementation

final ButtonStyle? style;