MenuButtonStyle class Null safety
Constructors
- MenuButtonStyle({bool closeMenuOnClick = true, Color backgroundColor = Colors.white, double height = 28.0, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12.0), TextStyle shortcutTextStyle = const TextStyle(fontSize: 15.0, color: Colors.grey), )
-
Style the menu and submenu buttons by implementing a custom MenuButtonStyle.
const
Properties
- backgroundColor → Color
-
final
- closeMenuOnClick → bool
-
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- height → double
-
final
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- shortcutTextStyle → TextStyle
-
final
-
final
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited