GeneralColors class
General color configuration for the app.
Constructors
- GeneralColors({required Color background, required Color content, required Color primaryAccent, required Color surface, required Color surfaceContent})
-
Creates a GeneralColors configuration.
const
Properties
- background → Color
-
The primary background color.
final
- content → Color
-
The primary content/text color.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- primaryAccent → Color
-
The primary accent color for highlights and interactive elements.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surface → Color
-
The surface background color (cards, dialogs, etc.).
final
- surfaceContent → Color
-
The content color on surfaces.
final
Methods
-
copyWith(
{Color? background, Color? content, Color? primaryAccent, Color? surface, Color? surfaceContent}) → GeneralColors - Creates a copy with the specified fields replaced.
-
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