Palette class
Colors used throughout the application.
Constructors
-
Palette({required Color primary, Color? primaryOpacity20, required Color primaryHighlight, required Color primaryHighlightShiny, required Color primaryHighlightShiniest, required Color primaryHighlightLightest, required Color primaryLight, required Color primaryLightest, required Color primaryDark, Color? primaryDarkOpacity70, Color? primaryDarkOpacity90, required Color primaryAuxiliary, Color? primaryAuxiliaryOpacity25, Color? primaryAuxiliaryOpacity55, required Color onPrimary, Color? onPrimaryOpacity7, Color? onPrimaryOpacity25, Color? onPrimaryOpacity50, Color? onPrimaryOpacity95, required Color secondary, required Color secondaryLight, required Color secondaryBackground, required Color secondaryBackgroundLight, required Color secondaryBackgroundLightest, required Color secondaryHighlight, required Color secondaryHighlightDark, required Color secondaryHighlightDarkest, Color? secondaryOpacity87, Color? secondaryOpacity40, required Color onSecondary, Color? onSecondaryOpacity20, Color? onSecondaryOpacity50, Color? onSecondaryOpacity60, Color? onSecondaryOpacity88, required Color background, required Color backgroundAuxiliary, required Color backgroundAuxiliaryLight, required Color backgroundAuxiliaryLighter, required Color backgroundAuxiliaryLightest, required Color onBackground, Color? onBackgroundOpacity2, Color? onBackgroundOpacity7, Color? onBackgroundOpacity13, Color? onBackgroundOpacity20, Color? onBackgroundOpacity27, Color? onBackgroundOpacity40, Color? onBackgroundOpacity50, Color? onBackgroundOpacity70, required Color transparent, required Color almostTransparent, required Color accept, required Color acceptAuxiliary, required Color acceptLight, required Color acceptLighter, required Color acceptLightest, required Color decline, Color? declineOpacity50, Color? declineOpacity88, required Color danger, required Color warning, required List<
Color> userColors})
Properties
- accept → Color
-
Indicator of an affirmative color of confirmable elements.
final
- acceptAuxiliary → Color
-
Color displaying pleasant action confirmation messages.
final
- acceptLight → Color
-
Light variant of the accept color.
final
- acceptLighter → Color
-
Lighter variant of the accept color.
final
- acceptLightest → Color
-
Lightest variant of the accept color.
final
- almostTransparent → Color
-
Almost transparent Color.
final
- background → Color
-
Background Color of the application.
final
- backgroundAuxiliary → Color
-
Color responsible for the helper background color.
final
- backgroundAuxiliaryLight → Color
-
Slightly lighter Color than the standard backgroundAuxiliary color.
final
- backgroundAuxiliaryLighter → Color
-
Color represents an even lighter shade than the standard
backgroundAuxiliary color.
final
- backgroundAuxiliaryLightest → Color
-
Lightest possible shade of the Color for the backgroundAuxiliary
color.
final
- danger → Color
-
Color used to indicate dangerous or critical elements in the user
interface.
final
- decline → Color
-
Indicator of rejection or cancellation in various elements of the user
interface.
final
- declineOpacity50 → Color
-
50% opacity of the decline color.
final
- declineOpacity88 → Color
-
88% opacity of the decline color.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onBackground → Color
-
Color for elements to put above the background color.
final
- onBackgroundOpacity13 → Color
-
13% opacity of the onBackground color.
final
- onBackgroundOpacity2 → Color
-
2% opacity of the onBackground color.
final
- onBackgroundOpacity20 → Color
-
20% opacity of the onBackground color.
final
- onBackgroundOpacity27 → Color
-
27% opacity of the onBackground color.
final
- onBackgroundOpacity40 → Color
-
40% opacity of the onBackground color.
final
- onBackgroundOpacity50 → Color
-
50% opacity of the onBackground color.
final
- onBackgroundOpacity7 → Color
-
7% opacity of the onBackground color.
final
- onBackgroundOpacity70 → Color
-
70% opacity of the onBackground color.
final
- onPrimary → Color
-
Color for elements to put above the primary color.
final
- onPrimaryOpacity25 → Color
-
25% opacity of the onPrimary color.
final
- onPrimaryOpacity50 → Color
-
50% opacity of the onPrimary color.
final
- onPrimaryOpacity7 → Color
-
7% opacity of the onPrimary color.
final
- onPrimaryOpacity95 → Color
-
95% opacity of the onPrimary color.
final
- onSecondary → Color
-
Color for elements to put above the secondary color.
final
- onSecondaryOpacity20 → Color
-
20% opacity of the onSecondary color.
final
- onSecondaryOpacity50 → Color
-
50% opacity of the onSecondary color.
final
- onSecondaryOpacity60 → Color
-
60% opacity of the onSecondary color.
final
- onSecondaryOpacity88 → Color
-
88% opacity of the onSecondary color.
final
- primary → Color
-
Primary Color of the application.
final
- primaryAuxiliary → Color
-
Color responsible for the helper primary color.
final
- primaryAuxiliaryOpacity25 → Color
-
25% opacity of the primaryAuxiliary color.
final
- primaryAuxiliaryOpacity55 → Color
-
55% opacity of the primaryAuxiliary color.
final
- primaryDark → Color
-
Dark Color of the primary elements.
final
- primaryDarkOpacity70 → Color
-
70% opacity of the primaryDark color.
final
- primaryDarkOpacity90 → Color
-
90% opacity of the primaryDark color.
final
- primaryHighlight → Color
-
Highlight Color of the primary elements.
final
- primaryHighlightLightest → Color
-
Lightest primary highlight Color.
final
- primaryHighlightShiniest → Color
-
The shiniest and most contrasting primary highlight Color.
final
- primaryHighlightShiny → Color
-
Highlight Color to draw attention to specific primary elements.
final
- primaryLight → Color
-
Light primary highlight Color.
final
- primaryLightest → Color
-
Lightest primary.
final
- primaryOpacity20 → Color
-
20% opacity of the primary color.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondary → Color
-
Secondary Color used alongside with primary.
final
- secondaryBackground → Color
-
Background Color of the secondary elements.
final
- secondaryBackgroundLight → Color
-
Light shade of the secondaryBackground color.
final
- secondaryBackgroundLightest → Color
-
Lightest shade of the secondaryBackground.
final
- secondaryHighlight → Color
-
Color highlighting the active secondary elements.
final
- secondaryHighlightDark → Color
-
Dark shade of the secondaryHighlight.
final
- secondaryHighlightDarkest → Color
-
Darkest shade of the secondaryHighlight.
final
- secondaryLight → Color
-
Lighter variation of the secondary color.
final
- secondaryOpacity40 → Color
-
40% opacity of the secondary color.
final
- secondaryOpacity87 → Color
-
87% opacity of the secondary color.
final
- transparent → Color
-
Completely transparent Color that has no visible saturation or
brightness.
final
-
userColors
→ List<
Color> -
Colors associated with the User.
final
- warning → Color
-
Color used to indicate caution, risk, or a potential threat.
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