NmFoundation class

Foundation shades shared by every palette.

Light values are the neutral shades of the NativeMind design system; dark values are derived (hue kept, contrast per pair matched).

Annotations

Properties

bg → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
cardShadow → List<BoxShadow>
Card, raised and modal shadows.
final
dangerText → Color
Text shades of the status colors.
final
disabled → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
fg1 → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
fg2 → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
fg3 → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
fgSecondary → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
hashCode → int
The hash code for this object.
no setterinherited
line → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
modalShadow → List<BoxShadow>
Card, raised and modal shadows.
final
placeholder → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrim → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
strongShadow → List<BoxShadow>
Card, raised and modal shadows.
final
successText → Color
Text shades of the status colors.
final
surface → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
surface2 → Color
Neutral surfaces, text shades, placeholder, disabled, divider and scrim.
final
warningText → Color
Text shades of the status colors.
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

Constants

badge → const Color
Unread / notification badge.
danger → const Color
Danger fill.
dark → const NmFoundation
Dark foundation (derived from light: hue kept, contrast per pair matched).
light → const NmFoundation
Light foundation (neutral shades).
success → const Color
Success fill.
warning → const Color
Warning fill.