FlumeColors class Foundation

Color scheme defined by Flume.

Constructors

FlumeColors({required Brightness brightness, required Color primary, required Color onPrimary, required Color secondary, required Color tertiary, required Color quaternary, required Color header, required Color body, required Color subtitle, required Color icon, required Color buttonFocus, required Color signal, required Color onSignal, required Color success, required Color onSuccess, required Color warning, required Color onWarning, required Color error, required Color onError, required Color draw, required Color highlight10, required Color highlight30, required Color inactive, required Color overlay30, required Color overlay50, required Color overlay70, required Color shadow})
const
FlumeColors.fallback()
{@category Foundation} {@subCategory Colors} Default color scheme.
factory

Properties

body Color
{@category Foundation} {@subCategory Colors} Text color for body text.
final
brightness Brightness
{@category Foundation} {@subCategory Colors} The Brightness of the palette
final
buttonFocus Color
{@category Foundation} {@subCategory Colors} Color for button borders when focues
final
draw Color
{@category Foundation} {@subCategory Colors} Color signaling neutral outcome.
final
error Color
{@category Foundation} {@subCategory Colors} Color signaling error or negative outcome.
final
hashCode int
The hash code for this object.
no setterinherited
{@category Foundation} {@subCategory Colors} Text color for headings.
final
highlight10 Color
{@category Foundation} {@subCategory Colors} Subtle highlight color (overlay).
final
highlight30 Color
{@category Foundation} {@subCategory Colors} Stronger highlight color (overlay).
final
icon Color
{@category Foundation} {@subCategory Colors} Color for icons.
final
inactive Color
{@category Foundation} {@subCategory Colors} Colors signaling inactive/disabled elements.
final
onError Color
{@category Foundation} {@subCategory Colors} Contrast color to the error color.
final
onPrimary Color
{@category Foundation} {@subCategory Colors} Contrast color to the primary color.
final
onSignal Color
{@category Foundation} {@subCategory Colors} Contrast color to the signal color.
final
onSuccess Color
{@category Foundation} {@subCategory Colors} Contrast color to the success color.
final
onWarning Color
{@category Foundation} {@subCategory Colors} Contrast color to the warning color.
final
overlay30 Color
{@category Foundation} {@subCategory Colors} Subtle dim overlay (overlay).
final
overlay50 Color
{@category Foundation} {@subCategory Colors} Stronger dim overlay (overlay).
final
overlay70 Color
{@category Foundation} {@subCategory Colors} Strongest dim overlay (overlay).
final
primary Color
{@category Foundation} {@subCategory Colors} The primary/brand color.
final
quaternary Color
{@category Foundation} {@subCategory Colors} Contrast color to the secondary color.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
{@category Foundation} {@subCategory Colors} Complementary color to the primary color.
final
shadow Color
{@category Foundation} {@subCategory Colors} Base color for shadows.
final
signal Color
{@category Foundation} {@subCategory Colors} Sharp, bright signaling color that contrasts most of the other colors.
final
subtitle Color
{@category Foundation} {@subCategory Colors} Text color for small/footer text.
final
success Color
{@category Foundation} {@subCategory Colors} Color signaling success or positive outcome.
final
tertiary Color
{@category Foundation} {@subCategory Colors} Third complementary color to the primary color.
final
values List<Color>
{@category Foundation} {@subCategory Colors} All colors, sorted by name.
no setter
warning Color
{@category Foundation} {@subCategory Colors} Color signaling warning or caution.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Color>
{@category Foundation} {@subCategory Colors} Map from all color names to colors.
toString() String
A string representation of this object.
inherited

Operators

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