AppColors class

App-specific colors based on the color component within the Kohler Dealer Service app's high-fidelity designs

Inheritance

Constructors

AppColors({required Color red, required Color orange, required Color yellow, required Color green, required Color purple, required Color grey})
const
AppColors.dark()
App colors configured for a dark theme
AppColors.light()
App colors configured for a light theme.

Properties

green Color
final
grey Color
final
hashCode int
The hash code for this object.
no setterinherited
orange Color
final
purple Color
final
red Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Object
The extension's type.
no setterinherited
yellow Color
final

Methods

copyWith({Color? red, Color? orange, Color? yellow, Color? green, Color? purple, Color? grey}) ThemeExtension<AppColors>
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<AppColors>? other, double t) ThemeExtension<AppColors>
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