PositionGravity enum

Position gravity type - Controls the position behavior of the floating window after dragging

Inheritance
Available extensions

Values

none → const PositionGravity

None - Allows the floating window to be positioned anywhere on the screen

Right - Allows the floating window to stick to the right side of the screen

left → const PositionGravity

Left - Allows the floating window to stick to the left side of the screen

auto → const PositionGravity

Auto - Automatically sticks to the left or right side based on the floating window position

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