HubbleColorPalette class

Inheritance
Available extensions

Constructors

HubbleColorPalette({required HubbleColorVariantClass brand, required HubbleColorVariantClass base, required HubbleStateColors system, required HubbleBackgroundColor background, required HubbleGradients gradient, required Color disabled, required Color pageBackground, required Color onBackground, required HubbleColorVariants material, required HubbleHairColor hairColor, required Color textColorDark, required Color textColorNormal, required Color textColorLight})
const
HubbleColorPalette.dark()
factory
HubbleColorPalette.light()
factory

Properties

background HubbleBackgroundColor
final
base HubbleColorVariantClass
final
brand HubbleColorVariantClass
final
dark Color
no setter
disabled Color
final
gradient HubbleGradients
final
hairColor HubbleHairColor
final
hashCode int
The hash code for this object.
no setterinherited
light Color
no setter
material HubbleColorVariants
final
onBackground Color
final
pageBackground Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
system HubbleStateColors
final
textColorDark Color
final
textColorLight Color
final
textColorNormal Color
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({HubbleColorVariantClass? brand, HubbleColorVariantClass? base, HubbleStateColors? system, HubbleBackgroundColor? background, HubbleGradients? gradient, Color? disabled, Color? pageBackground, Color? onBackground, HubbleColorVariants? material, HubbleHairColor? hairColor, Color? textColorDark, Color? textColorNormal, Color? textColorLight}) ThemeExtension<HubbleColorPalette>
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
fromXThemeColor(XThemeColor key) Color?

Available on HubbleColorPalette, provided by the ColorExt extension

lerp(covariant ThemeExtension<HubbleColorPalette>? other, double t) ThemeExtension<HubbleColorPalette>
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