ViewAnnotationAnchor enum Null safety

Enum describing how to place view annotation relatively to geometry.

Inheritance

Constructors

ViewAnnotationAnchor()
const

Values

TOP → const ViewAnnotationAnchor

The top of the view annotation is placed closest to the geometry.

LEFT → const ViewAnnotationAnchor

The left side of the view annotation is placed closest to the geometry. */

BOTTOM → const ViewAnnotationAnchor

The bottom of the view annotation is placed closest to the geometry. */

The right side of the view annotation is placed closest to the geometry. */

TOP_LEFT → const ViewAnnotationAnchor

The top-left corner of the view annotation is placed closest to the geometry. */

BOTTOM_RIGHT → const ViewAnnotationAnchor

The bottom-right corner of the view annotation is placed closest to the geometry. */

TOP_RIGHT → const ViewAnnotationAnchor

The top-right corner of the view annotation is placed closest to the geometry. */

BOTTOM_LEFT → const ViewAnnotationAnchor

The bottom-left corner of the view annotation is placed closest to the geometry. */

CENTER → const ViewAnnotationAnchor

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<ViewAnnotationAnchor>
A constant List of the values in this enum, in order of their declaration.
[TOP, LEFT, BOTTOM, RIGHT, TOP_LEFT, BOTTOM_RIGHT, TOP_RIGHT, BOTTOM_LEFT, CENTER]