StopsColorScale class
- Inheritance
-
- Object
- ChartColorScale
- StopsColorScale
Constructors
-
StopsColorScale(List<
ColorStop> stops) -
const
Properties
Methods
-
colorAt(
double value) → Color -
The color the scale assigns to a single value (used for markers).
override
-
createShader(
ResolvedAxis yAxis, {double opacity = 1}) → Shader -
Pixel-space vertical shader for the current frame's y transform.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toGradientSpec(
) → GradientSpec -
The scale as ascending (values, colors) gradient arrays in value space.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited