BetweenBarsData class

Holds data about filling below or above space of the bar line,

Constructors

BetweenBarsData({required int fromIndex, required int toIndex, Color? color, Gradient? gradient})

Properties

color Color?
If provided, this BetweenBarsData draws with this color Otherwise we use gradient to draw the background. It throws an exception if you provide both color and gradient
final
fromIndex int
The index of the lineBarsData from where the area has to be rendered
final
gradient Gradient?
If provided, this BetweenBarsData 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
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
toIndex int
The index of the lineBarsData until where the area has to be rendered
final

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(BetweenBarsData a, BetweenBarsData b, double t) BetweenBarsData
Lerps a BetweenBarsData based on t value, check Tween.lerp.