DesignSystemColors class
Constructors
- DesignSystemColors({required Color primary, required Color onPrimary, required Color surface, required Color onSurface, required Color surfaceVariant, required Color outline, required Color success, required Color warning, required Color information, required Color error, required Color disabledForeground, required Color disabledBackground})
-
const
- DesignSystemColors.fromTokens(BrandTokens tokens)
-
factory
Properties
- disabledBackground → Color
-
final
- disabledForeground → Color
-
final
- error → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- information → Color
-
final
- onPrimary → Color
-
final
- onSurface → Color
-
final
- outline → Color
-
final
- primary → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → Color
-
final
- surface → Color
-
final
- surfaceVariant → Color
-
final
- warning → Color
-
final
Methods
-
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