DropdownMenuPosition class

Dropdown menu position defines how to align the dropdown menu with the dropdown trigger. Once targetAnchor and anchor are applied, offset would be applied to adjust the space between the dropdown trigger and the dropdown menu.

DropdownMenuPosition would be used as params of CompositedTransformFollower.

See also:

Constructors

const

Properties

anchor Alignment
the anchor point of the dropdown menu should use to align itself with the target anchor.
final
hashCode int
The hash code for this object.
no setteroverride
offset Offset
the offset between the dropdown trigger and the dropdown menu after aligning them.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetAnchor Alignment
the anchor point of the dropdown menu should be aligned to the dropdown trigger widget.
final

Methods

copyWith({Alignment? targetAnchor, Alignment? anchor, Offset? offset}) DropdownMenuPosition
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.
override