MenuDecoration<T> class

Constructors

Properties

alignment MenuAlignment?
Aligning optionsMenu (left, center, right)
final
animationDuration Duration?
Time it takes to open or close the options' menu
final
backgroundDecoration BoxDecoration?
BoxDecoration for options' menu.
final
buttonStyle ButtonStyle?
Style of default TextButton if optionBuilder is not provided
final
childBuilder Widget Function(BuildContext context, Option<T> option, bool isSelected)?
Specifies child widget of a default TextButton menu option widget.
final
hashCode int
The hash code for this object.
no setterinherited
height double?
Specifies overall height of options' menu. Default is 365.0.
final
margin EdgeInsets?
Margin from TextFormField.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separatorBuilder Widget Function(BuildContext context, int index)?
Separates options by provided widget. Will be called with indices greater than or equal to zero and less than options.length - 1.
final
textStyle TextStyle?
Style of deafult Text widget if optionBuilder is not provided
final
width double?
Specifies width of options' menu.
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