NeomageColorScheme class

Extended color palette used throughout the Neomage UI.

Mirrors the semantic tokens found in Neomage's terminal theme, adapted for Flutter's widget-based rendering.

Constructors

NeomageColorScheme({required Color primary, required Color primaryVariant, required Color secondary, required Color secondaryVariant, required Color background, required Color surface, required Color surfaceVariant, required Color error, required Color onPrimary, required Color onSecondary, required Color onBackground, required Color onSurface, required Color onError, required Color border, required Color borderVariant, required Color muted, required Color mutedForeground, required Color accent, required Color accentForeground, required Color destructive, required Color destructiveForeground, required Color success, required Color warning, required Color info})
const
NeomageColorScheme.fromMap(Map<String, dynamic> map)
Deserialise from a map produced by toMap.
factory

Properties

accent Color
Accent highlight color (badges, indicators).
final
accentForeground Color
Foreground on accent backgrounds.
final
background Color
The main background color of the application.
final
border Color
Default border color for containers and dividers.
final
borderVariant Color
Lighter / subtler border variant.
final
destructive Color
Color for destructive actions (delete, remove).
final
destructiveForeground Color
Foreground on destructive backgrounds.
final
error Color
Color used to indicate errors and destructive states.
final
hashCode int
The hash code for this object.
no setterinherited
info Color
Informational indication.
final
muted Color
Muted background used for disabled or inactive areas.
final
mutedForeground Color
Foreground color for content placed on muted backgrounds.
final
onBackground Color
Foreground color rendered on top of background.
final
onError Color
Foreground color rendered on top of error.
final
onPrimary Color
Foreground color rendered on top of primary.
final
onSecondary Color
Foreground color rendered on top of secondary.
final
onSurface Color
Foreground color rendered on top of surface.
final
primary Color
The dominant brand color (buttons, links, active elements).
final
primaryVariant Color
A darker / lighter variant of primary for hover or pressed states.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
Secondary accent used for less prominent interactive elements.
final
secondaryVariant Color
Variant of secondary.
final
success Color
Positive / success indication.
final
surface Color
Surface color for cards, sheets, and elevated containers.
final
surfaceVariant Color
Alternative surface for distinguishing nested containers.
final
warning Color
Warning indication.
final

Methods

copyWith({Color? primary, Color? primaryVariant, Color? secondary, Color? secondaryVariant, Color? background, Color? surface, Color? surfaceVariant, Color? error, Color? onPrimary, Color? onSecondary, Color? onBackground, Color? onSurface, Color? onError, Color? border, Color? borderVariant, Color? muted, Color? mutedForeground, Color? accent, Color? accentForeground, Color? destructive, Color? destructiveForeground, Color? success, Color? warning, Color? info}) NeomageColorScheme
Returns a copy with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, int>
Serialise the scheme to a plain map for persistence / export.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited