RangeAnnotations class

Holds data for rendering horizontal and vertical range annotations.

Constructors

RangeAnnotations({List<HorizontalRangeAnnotation> horizontalRangeAnnotations = const [], List<VerticalRangeAnnotation> verticalRangeAnnotations = const []})
Axis based charts can annotate some horizontal and vertical regions, using horizontalRangeAnnotations, and verticalRangeAnnotations respectively.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
horizontalRangeAnnotations List<HorizontalRangeAnnotation>
final
props List<Object?>
Used for equality check, see EquatableMixin.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
verticalRangeAnnotations List<VerticalRangeAnnotation>
final

Methods

copyWith({List<HorizontalRangeAnnotation>? horizontalRangeAnnotations, List<VerticalRangeAnnotation>? verticalRangeAnnotations}) RangeAnnotations
Copies current RangeAnnotations to a new RangeAnnotations, and replaces provided values.
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

Static Methods

lerp(RangeAnnotations a, RangeAnnotations b, double t) RangeAnnotations
Lerps a RangeAnnotations based on t value, check Tween.lerp.