ColorExtension class
- Inheritance
-
- Object
- ThemeExtension<
ColorExtension> - ColorExtension
- Annotations
Constructors
- ColorExtension({required Color? primaryBgColor, required Color? primaryColor, required Color? disabledBgColor, required Color? disabledColor, required Color? white, required Color? black, required Color? red, required Color? fireOrange, required Color? orange, required Color? tangerineYellow, required Color? yellow, required Color? green, required Color? mint, required Color? brightBlue, required Color? blue, required Color? opRed, required Color? opFireOrange, required Color? opOrange, required Color? opTangerineYellow, required Color? opYellow, required Color? opGreen, required Color? opMint, required Color? opBrightBlue, required Color? opBlue, required Color? neutralWhite, required Color? neutralBgColor, required Color? neutralBgColor2, required Color? neutralLines, required Color? neutralIconCaption, required LinearGradient? gradientRedOrange, required LinearGradient? gradientOrangeYellow, required LinearGradient? gradientGreenMint, required LinearGradient? gradientBrightBlueBlue, required Color? backgroundColor, required Color? opNeutralLines})
-
const
Properties
- backgroundColor → Color?
-
final
- black → Color?
-
final
- blue → Color?
-
final
- brightBlue → Color?
-
final
- disabledBgColor → Color?
-
final
- disabledColor → Color?
-
final
- fireOrange → Color?
-
final
- gradientBrightBlueBlue → LinearGradient?
-
final
- gradientGreenMint → LinearGradient?
-
final
- gradientOrangeYellow → LinearGradient?
-
final
- gradientRedOrange → LinearGradient?
-
final
- green → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mint → Color?
-
final
- neutralBgColor → Color?
-
final
- neutralBgColor2 → Color?
-
final
- neutralIconCaption → Color?
-
final
- neutralLines → Color?
-
final
- neutralWhite → Color?
-
final
- opBlue → Color?
-
final
- opBrightBlue → Color?
-
final
- opFireOrange → Color?
-
final
- opGreen → Color?
-
final
- opMint → Color?
-
final
- opNeutralLines → Color?
-
final
- opOrange → Color?
-
final
- opRed → Color?
-
final
- opTangerineYellow → Color?
-
final
- opYellow → Color?
-
final
- orange → Color?
-
final
- primaryBgColor → Color?
-
final
- primaryColor → Color?
-
final
- red → Color?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tangerineYellow → Color?
-
final
- type → Object
-
The extension's type.
no setterinherited
- white → Color?
-
final
- yellow → Color?
-
final
Methods
-
copyWith(
{Color? primaryBgColor}) → ColorExtension -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
getColorByKey(
String key) → Color? -
getOpColorByKey(
String key) → Color? -
lerp(
covariant ThemeExtension< ColorExtension> ? other, double t) → ThemeExtension<ColorExtension> -
Linearly interpolate with another ThemeExtension object.
override
-
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