MenuTheme class

Styling options for menu widgets such as MenuGroup and MenuButton.

Constructors

Styling options for menu widgets such as MenuGroup and MenuButton.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
itemPadding → EdgeInsets?
Default padding applied to each menu item.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
Offset applied when showing a submenu.
final

Methods

copyWith({ValueGetter<EdgeInsets?>? itemPadding, ValueGetter<Offset?>? subMenuOffset}) → MenuTheme
Creates a copy of this theme but with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override