StopsColorScale class

Inheritance

Constructors

StopsColorScale(List<ColorStop> stops)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stops List<ColorStop>
final

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