MenuConfig class

菜单配置

Constructors

const
factory

Properties

arrowHeight → double
箭头的高度
final
backgroundColor → Color
背景色
final
hashCode → int
The hash code for this object.
no setterinherited
highlightColor → Color
The highlight color on click.
final
itemHeight → double
菜单项的高度
final
itemWidth → double
菜单的宽度
final
lineColor → Color
The color of the separator line.
final
maxColumn → int
Maximum number of columns for grid-type menu.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textAlign → TextAlign
Text alignment, only effective in List Menu.
final
textStyle → TextStyle
Uniformly setting the TextStyle for MenuItem will be overridden by MenuItem; if MenuItem does not set it, then this Style will be used.
final
type → MenuType
菜单类型
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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