BrightnessColorMixer class final

Inheritance

Constructors

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

Properties

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

Methods

getColorRangeDartCode(String baseName, [String prefix = '@override\nfinal ']) → String
inherited
getFirstBaseColor() → Color?
Retrieves the first base color in the mixer chain.
inherited
getFirstCurve() → ParametricCurve<double>?
Retrieves the first curve in the mixer chain.
inherited
getMix(int value) → Color?
override
getPallete() → Map<int, Color>
inherited
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) → BrightnessColorMixer
override

Operators

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