MenuStyle class

Mixed in types
Annotations

Constructors

Properties

animationDuration Duration?
final
areaPadding double?
Minimum distance from the available for menu positioning area's edges to menus edges.
final
axis Axis?
final
backgroundColor Color?
final
buttonMenuPadding double?
final
dividerStyle DividerThemeData?
final
elevation double?
final
foregroundColor MenuItemMaterialStateProperty<Color>?
final
hashCode int
The hash code for this object.
no setteroverride
horzSubmenuMargin double?
final
isAnimated bool?
final
itemStyle MenuItemStyle?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle?
final
vertMenuMinWidth double?
final
vertPadding double?
Distance from the top of a menu to its first item and from the bottom of the menu to its last item.
final
vertSubmenuMargin double?
final
visualDensity VisualDensity?
final

Methods

copyWith({Axis? axis, VisualDensity? visualDensity, double? vertMenuMinWidth, double? vertPadding, double? vertSubmenuMargin, double? horzSubmenuMargin, double? areaPadding, double? buttonMenuPadding, Color? backgroundColor, MenuItemMaterialStateProperty<Color>? foregroundColor, double? elevation, TextStyle? textStyle, MenuItemStyle? itemStyle, DividerThemeData? dividerStyle, bool? isAnimated, Duration? animationDuration}) MenuStyle
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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

Static Methods

lerp(MenuStyle a, MenuStyle b, double t) MenuStyle