ColorMixer class base

Constructors

ColorMixer({ParametricCurve<double>? curve = ColorCurves.medium, Color? baseColor, ColorMixer? previousMixer, ColorBlender blender = const LerpColorBlender()})
const

Properties

baseColor Color?
final
blender ColorBlender
final
curve ParametricCurve<double>?
final
hashCode int
The hash code for this object.
no setterinherited
previousMixer ColorMixer?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getColorRangeDartCode(String baseName, [String prefix = '@override\nfinal ']) String
getFirstBaseColor() Color?
Retrieves the first base color in the mixer chain.
getFirstCurve() ParametricCurve<double>?
Retrieves the first curve in the mixer chain.
getMix(int value) Color?
getPallete() Map<int, Color>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withChild(ColorMixer mixer) ColorMixer

Operators

operator ==(Object other) bool
The equality operator.
inherited