VerticalRangeAnnotation class
Defines an annotation region in x (horizontal) axis.
Constructors
- VerticalRangeAnnotation({required double x1, required double x2, Color? color})
-
Annotates a vertical region from most bottom to most top point of the chart, and
from
x1
tox2
, and fills the area withcolor
.
Properties
- color → Color
-
Fills the area with this color.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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 - x1 → double
-
Determines starting point in horizontal (x) axis.
final
- x2 → double
-
Determines ending point in horizontal (x) axis.
final
Methods
-
copyWith(
{double? x1, double? x2, Color? color}) → VerticalRangeAnnotation - Copies current VerticalRangeAnnotation to a new VerticalRangeAnnotation, 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(
VerticalRangeAnnotation a, VerticalRangeAnnotation b, double t) → VerticalRangeAnnotation -
Lerps a VerticalRangeAnnotation based on
t
value, check Tween.lerp.