BarAreaData class
Holds data for filling an area (above or below) of the line with a color or gradient.
Constructors
Properties
- applyCutOffY → bool
-
determines should or shouldn't apply cutOffY
final
- color → Color?
-
If provided, this BarAreaData draws with this color
Otherwise we use gradient to draw the background.
It throws an exception if you provide both color and gradient
final
- cutOffY → double
-
cut the drawing below or above area to this y value
final
- gradient → Gradient?
-
If provided, this BarAreaData draws with this gradient.
Otherwise we use color to draw the background.
It throws an exception if you provide both color and gradient
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
- show → bool
-
final
- spotsLine → BarAreaSpotsLine
-
holds data for drawing a line from each spot the the bottom, or top of the chart
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.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
Static Methods
-
lerp(
BarAreaData a, BarAreaData b, double t) → BarAreaData -
Lerps a BarAreaData based on
t
value, check Tween.lerp.