CustomAnnotation class

The specification of a custom annotation.

Inheritance

Constructors

CustomAnnotation({required List<MarkElement<ElementStyle>> renderer(Offset, Size), List<String>? variables, List? values, Offset anchor(Size)?, bool? clip, int? layer})
Creates a custom annotation.

Properties

anchor ↔ (Offset Function(Size)?)
Indicates the anchor position of this annotation directly.
getter/setter pairinherited
clip bool?
Whether this element annotation should be cliped within the coordinate region.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
layer int?
The layer of this annotation.
getter/setter pairinherited
renderer List<MarkElement<ElementStyle>> Function(Offset, Size)
Indicates the custom render funcion of this annotation.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List?
The values of variables for position.
getter/setter pairinherited
variables List<String>?
The variables in each dimension refered to for position.
getter/setter pairinherited

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.
override