OptionsViewOpenDirection enum

A direction in which to open the options-view overlay.

See also:

Inheritance
Available extensions

Values

up → const OptionsViewOpenDirection

Open upward.

The bottom edge of the options view will align with the top edge of the text field built by RawAutocomplete.fieldViewBuilder.

down → const OptionsViewOpenDirection

Open downward.

The top edge of the options view will align with the bottom edge of the text field built by RawAutocomplete.fieldViewBuilder.

mostSpace → const OptionsViewOpenDirection

Open in the direction with the most available space within the overlay.

The available space is calculated as the distance from the field's top edge to the overlay's top edge (for upward opening) or from the field's bottom edge to the overlay's bottom edge (for downward opening).

If both directions have the same available space, the options view opens downward.

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<OptionsViewOpenDirection>
A constant List of the values in this enum, in order of their declaration.