PullDownMenuPosition enum
Used to configure how the PullDownButton positions its pull-down menu and what type of movement (upwards or downwards) it will use for menu's appear animation.
Values
- over → const PullDownMenuPosition
-
Menu is positioned over an anchor and is forced to be under an anchor (downwards movement)
If there is no available space to place menu over an anchor with downwards movement, menu will be placed over an anchor with upwards movement.
- under → const PullDownMenuPosition
-
Menu is positioned under an anchor and is forced to be under an anchor (downwards movement).
If there is no available space to place menu under an anchor, menu will be placed above an anchor (upwards movement).
- above → const PullDownMenuPosition
-
Menu is positioned above an anchor and is forced to always be above an anchor (upwards movement).
If there is no available space to place menu above an anchor, menu will be placed under an anchor (downwards movement).
- automatic → const PullDownMenuPosition
-
Menu is positioned under or above an anchor depending on side that has more space available.
If positioned under anchor - downwards movement will be used, if positioned above - upwards movement will be used.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
PullDownMenuPosition> - A constant List of the values in this enum, in order of their declaration.