CSemanticColors class

A centralized collection of semantic color tokens for the application.

This class maps raw material colors to functional roles like 'primary', 'success', and 'background' to ensure design consistency.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

background → const Color
The default background color for the application screens.
danger → const Color
Color used for errors, alerts, or dangerous actions.
primary → const Color
The main brand color used for primary UI elements and actions.
secondary → const Color
The secondary brand color used for accents and highlights.
success → const Color
Color used to indicate successful actions or positive states.
surface → const Color
Color used for elevated surfaces like cards and dialogs.
textPrimary → const Color
The primary text color, optimized for high readability.
textSecondary → const Color
The secondary text color, used for subtitles or less important info.
warning → const Color
Color used for warning messages or cautionary states.