PositionReference enum

Defines possible references for RelativePositionAssert.

Inheritance
Available extensions

Values

target → const PositionReference

Refers to a specified target trait.

The target bounds must not intersect with the own. The positional fields signify the distance to the respective facing bound of the target.

parent → const PositionReference

Refers to a specified parent trait.

The own bounds must lie within the parents. The positional fields signify the location in the coordinate system of the parent.

parentBounds → const PositionReference

Refers to a specified parent traits bounds.

The own bounds must lie within the parents. The positional fields signify the distance to the respective facing bound of the parent.

globalBounds → const PositionReference

Refers to the global bounds.

The positional fields signify the distance to the respective facing bound of the global scope.

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