FlyColorLight class

Usage

FlyColor provides predefined color scales for all colors:

import 'package:flycolor/colors.dart';

// Direct access (defaults to light mode)
FlyColor.blue9;        // Step 9 (seed/base color)
FlyColor.blue1;        // Lightest step
FlyColor.blue12;       // Darkest step
FlyColor.blueContrast; // Contrast color for text
FlyColor.blueSurface;  // Surface color

// Dark mode variants
FlyColor.blue1Dark;
FlyColor.blue9Dark;

// Explicit light/dark mode
FlyColorLight.blue1;
FlyColorDark.blue1;

// Context-aware (automatically switches based on theme)
FlyColor.of(context).blue1;
FlyColor.of(context).gray9;

Light mode colors

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

amber1 → const Color
amber1A → const Color
amber2 → const Color
amber2A → const Color
amber3 → const Color
amber3A → const Color
amber4 → const Color
amber4A → const Color
amber5 → const Color
amber5A → const Color
amber6 → const Color
amber6A → const Color
amber7 → const Color
amber7A → const Color
amber8 → const Color
amber8A → const Color
amber9 → const Color
amber9A → const Color
amber10 → const Color
amber10A → const Color
amber11 → const Color
amber11A → const Color
amber12 → const Color
amber12A → const Color
amberContrast → const Color
amberSurface → const Color
blue1 → const Color
blue1A → const Color
blue2 → const Color
blue2A → const Color
blue3 → const Color
blue3A → const Color
blue4 → const Color
blue4A → const Color
blue5 → const Color
blue5A → const Color
blue6 → const Color
blue6A → const Color
blue7 → const Color
blue7A → const Color
blue8 → const Color
blue8A → const Color
blue9 → const Color
blue9A → const Color
blue10 → const Color
blue10A → const Color
blue11 → const Color
blue11A → const Color
blue12 → const Color
blue12A → const Color
blueContrast → const Color
blueSurface → const Color
bronze1 → const Color
bronze1A → const Color
bronze2 → const Color
bronze2A → const Color
bronze3 → const Color
bronze3A → const Color
bronze4 → const Color
bronze4A → const Color
bronze5 → const Color
bronze5A → const Color
bronze6 → const Color
bronze6A → const Color
bronze7 → const Color
bronze7A → const Color
bronze8 → const Color
bronze8A → const Color
bronze9 → const Color
bronze9A → const Color
bronze10 → const Color
bronze10A → const Color
bronze11 → const Color
bronze11A → const Color
bronze12 → const Color
bronze12A → const Color
bronzeContrast → const Color
bronzeSurface → const Color
brown1 → const Color
brown1A → const Color
brown2 → const Color
brown2A → const Color
brown3 → const Color
brown3A → const Color
brown4 → const Color
brown4A → const Color
brown5 → const Color
brown5A → const Color
brown6 → const Color
brown6A → const Color
brown7 → const Color
brown7A → const Color
brown8 → const Color
brown8A → const Color
brown9 → const Color
brown9A → const Color
brown10 → const Color
brown10A → const Color
brown11 → const Color
brown11A → const Color
brown12 → const Color
brown12A → const Color
brownContrast → const Color
brownSurface → const Color
crimson1 → const Color
crimson1A → const Color
crimson2 → const Color
crimson2A → const Color
crimson3 → const Color
crimson3A → const Color
crimson4 → const Color
crimson4A → const Color
crimson5 → const Color
crimson5A → const Color
crimson6 → const Color
crimson6A → const Color
crimson7 → const Color
crimson7A → const Color
crimson8 → const Color
crimson8A → const Color
crimson9 → const Color
crimson9A → const Color
crimson10 → const Color
crimson10A → const Color
crimson11 → const Color
crimson11A → const Color
crimson12 → const Color
crimson12A → const Color
crimsonContrast → const Color
crimsonSurface → const Color
cyan1 → const Color
cyan1A → const Color
cyan2 → const Color
cyan2A → const Color
cyan3 → const Color
cyan3A → const Color
cyan4 → const Color
cyan4A → const Color
cyan5 → const Color
cyan5A → const Color
cyan6 → const Color
cyan6A → const Color
cyan7 → const Color
cyan7A → const Color
cyan8 → const Color
cyan8A → const Color
cyan9 → const Color
cyan9A → const Color
cyan10 → const Color
cyan10A → const Color
cyan11 → const Color
cyan11A → const Color
cyan12 → const Color
cyan12A → const Color
cyanContrast → const Color
cyanSurface → const Color
gold1 → const Color
gold1A → const Color
gold2 → const Color
gold2A → const Color
gold3 → const Color
gold3A → const Color
gold4 → const Color
gold4A → const Color
gold5 → const Color
gold5A → const Color
gold6 → const Color
gold6A → const Color
gold7 → const Color
gold7A → const Color
gold8 → const Color
gold8A → const Color
gold9 → const Color
gold9A → const Color
gold10 → const Color
gold10A → const Color
gold11 → const Color
gold11A → const Color
gold12 → const Color
gold12A → const Color
goldContrast → const Color
goldSurface → const Color
grass1 → const Color
grass1A → const Color
grass2 → const Color
grass2A → const Color
grass3 → const Color
grass3A → const Color
grass4 → const Color
grass4A → const Color
grass5 → const Color
grass5A → const Color
grass6 → const Color
grass6A → const Color
grass7 → const Color
grass7A → const Color
grass8 → const Color
grass8A → const Color
grass9 → const Color
grass9A → const Color
grass10 → const Color
grass10A → const Color
grass11 → const Color
grass11A → const Color
grass12 → const Color
grass12A → const Color
grassContrast → const Color
grassSurface → const Color
gray1 → const Color
gray1A → const Color
gray2 → const Color
gray2A → const Color
gray3 → const Color
gray3A → const Color
gray4 → const Color
gray4A → const Color
gray5 → const Color
gray5A → const Color
gray6 → const Color
gray6A → const Color
gray7 → const Color
gray7A → const Color
gray8 → const Color
gray8A → const Color
gray9 → const Color
gray9A → const Color
gray10 → const Color
gray10A → const Color
gray11 → const Color
gray11A → const Color
gray12 → const Color
gray12A → const Color
grayContrast → const Color
graySurface → const Color
green1 → const Color
green1A → const Color
green2 → const Color
green2A → const Color
green3 → const Color
green3A → const Color
green4 → const Color
green4A → const Color
green5 → const Color
green5A → const Color
green6 → const Color
green6A → const Color
green7 → const Color
green7A → const Color
green8 → const Color
green8A → const Color
green9 → const Color
green9A → const Color
green10 → const Color
green10A → const Color
green11 → const Color
green11A → const Color
green12 → const Color
green12A → const Color
greenContrast → const Color
greenSurface → const Color
indigo1 → const Color
indigo1A → const Color
indigo2 → const Color
indigo2A → const Color
indigo3 → const Color
indigo3A → const Color
indigo4 → const Color
indigo4A → const Color
indigo5 → const Color
indigo5A → const Color
indigo6 → const Color
indigo6A → const Color
indigo7 → const Color
indigo7A → const Color
indigo8 → const Color
indigo8A → const Color
indigo9 → const Color
indigo9A → const Color
indigo10 → const Color
indigo10A → const Color
indigo11 → const Color
indigo11A → const Color
indigo12 → const Color
indigo12A → const Color
indigoContrast → const Color
indigoSurface → const Color
iris1 → const Color
iris1A → const Color
iris2 → const Color
iris2A → const Color
iris3 → const Color
iris3A → const Color
iris4 → const Color
iris4A → const Color
iris5 → const Color
iris5A → const Color
iris6 → const Color
iris6A → const Color
iris7 → const Color
iris7A → const Color
iris8 → const Color
iris8A → const Color
iris9 → const Color
iris9A → const Color
iris10 → const Color
iris10A → const Color
iris11 → const Color
iris11A → const Color
iris12 → const Color
iris12A → const Color
irisContrast → const Color
irisSurface → const Color
jade1 → const Color
jade1A → const Color
jade2 → const Color
jade2A → const Color
jade3 → const Color
jade3A → const Color
jade4 → const Color
jade4A → const Color
jade5 → const Color
jade5A → const Color
jade6 → const Color
jade6A → const Color
jade7 → const Color
jade7A → const Color
jade8 → const Color
jade8A → const Color
jade9 → const Color
jade9A → const Color
jade10 → const Color
jade10A → const Color
jade11 → const Color
jade11A → const Color
jade12 → const Color
jade12A → const Color
jadeContrast → const Color
jadeSurface → const Color
lime1 → const Color
lime1A → const Color
lime2 → const Color
lime2A → const Color
lime3 → const Color
lime3A → const Color
lime4 → const Color
lime4A → const Color
lime5 → const Color
lime5A → const Color
lime6 → const Color
lime6A → const Color
lime7 → const Color
lime7A → const Color
lime8 → const Color
lime8A → const Color
lime9 → const Color
lime9A → const Color
lime10 → const Color
lime10A → const Color
lime11 → const Color
lime11A → const Color
lime12 → const Color
lime12A → const Color
limeContrast → const Color
limeSurface → const Color
mauve1 → const Color
mauve1A → const Color
mauve2 → const Color
mauve2A → const Color
mauve3 → const Color
mauve3A → const Color
mauve4 → const Color
mauve4A → const Color
mauve5 → const Color
mauve5A → const Color
mauve6 → const Color
mauve6A → const Color
mauve7 → const Color
mauve7A → const Color
mauve8 → const Color
mauve8A → const Color
mauve9 → const Color
mauve9A → const Color
mauve10 → const Color
mauve10A → const Color
mauve11 → const Color
mauve11A → const Color
mauve12 → const Color
mauve12A → const Color
mauveContrast → const Color
mauveSurface → const Color
mint1 → const Color
mint1A → const Color
mint2 → const Color
mint2A → const Color
mint3 → const Color
mint3A → const Color
mint4 → const Color
mint4A → const Color
mint5 → const Color
mint5A → const Color
mint6 → const Color
mint6A → const Color
mint7 → const Color
mint7A → const Color
mint8 → const Color
mint8A → const Color
mint9 → const Color
mint9A → const Color
mint10 → const Color
mint10A → const Color
mint11 → const Color
mint11A → const Color
mint12 → const Color
mint12A → const Color
mintContrast → const Color
mintSurface → const Color
olive1 → const Color
olive1A → const Color
olive2 → const Color
olive2A → const Color
olive3 → const Color
olive3A → const Color
olive4 → const Color
olive4A → const Color
olive5 → const Color
olive5A → const Color
olive6 → const Color
olive6A → const Color
olive7 → const Color
olive7A → const Color
olive8 → const Color
olive8A → const Color
olive9 → const Color
olive9A → const Color
olive10 → const Color
olive10A → const Color
olive11 → const Color
olive11A → const Color
olive12 → const Color
olive12A → const Color
oliveContrast → const Color
oliveSurface → const Color
orange1 → const Color
orange1A → const Color
orange2 → const Color
orange2A → const Color
orange3 → const Color
orange3A → const Color
orange4 → const Color
orange4A → const Color
orange5 → const Color
orange5A → const Color
orange6 → const Color
orange6A → const Color
orange7 → const Color
orange7A → const Color
orange8 → const Color
orange8A → const Color
orange9 → const Color
orange9A → const Color
orange10 → const Color
orange10A → const Color
orange11 → const Color
orange11A → const Color
orange12 → const Color
orange12A → const Color
orangeContrast → const Color
orangeSurface → const Color
pink1 → const Color
pink1A → const Color
pink2 → const Color
pink2A → const Color
pink3 → const Color
pink3A → const Color
pink4 → const Color
pink4A → const Color
pink5 → const Color
pink5A → const Color
pink6 → const Color
pink6A → const Color
pink7 → const Color
pink7A → const Color
pink8 → const Color
pink8A → const Color
pink9 → const Color
pink9A → const Color
pink10 → const Color
pink10A → const Color
pink11 → const Color
pink11A → const Color
pink12 → const Color
pink12A → const Color
pinkContrast → const Color
pinkSurface → const Color
plum1 → const Color
plum1A → const Color
plum2 → const Color
plum2A → const Color
plum3 → const Color
plum3A → const Color
plum4 → const Color
plum4A → const Color
plum5 → const Color
plum5A → const Color
plum6 → const Color
plum6A → const Color
plum7 → const Color
plum7A → const Color
plum8 → const Color
plum8A → const Color
plum9 → const Color
plum9A → const Color
plum10 → const Color
plum10A → const Color
plum11 → const Color
plum11A → const Color
plum12 → const Color
plum12A → const Color
plumContrast → const Color
plumSurface → const Color
purple1 → const Color
purple1A → const Color
purple2 → const Color
purple2A → const Color
purple3 → const Color
purple3A → const Color
purple4 → const Color
purple4A → const Color
purple5 → const Color
purple5A → const Color
purple6 → const Color
purple6A → const Color
purple7 → const Color
purple7A → const Color
purple8 → const Color
purple8A → const Color
purple9 → const Color
purple9A → const Color
purple10 → const Color
purple10A → const Color
purple11 → const Color
purple11A → const Color
purple12 → const Color
purple12A → const Color
purpleContrast → const Color
purpleSurface → const Color
red1 → const Color
red1A → const Color
red2 → const Color
red2A → const Color
red3 → const Color
red3A → const Color
red4 → const Color
red4A → const Color
red5 → const Color
red5A → const Color
red6 → const Color
red6A → const Color
red7 → const Color
red7A → const Color
red8 → const Color
red8A → const Color
red9 → const Color
red9A → const Color
red10 → const Color
red10A → const Color
red11 → const Color
red11A → const Color
red12 → const Color
red12A → const Color
redContrast → const Color
redSurface → const Color
ruby1 → const Color
ruby1A → const Color
ruby2 → const Color
ruby2A → const Color
ruby3 → const Color
ruby3A → const Color
ruby4 → const Color
ruby4A → const Color
ruby5 → const Color
ruby5A → const Color
ruby6 → const Color
ruby6A → const Color
ruby7 → const Color
ruby7A → const Color
ruby8 → const Color
ruby8A → const Color
ruby9 → const Color
ruby9A → const Color
ruby10 → const Color
ruby10A → const Color
ruby11 → const Color
ruby11A → const Color
ruby12 → const Color
ruby12A → const Color
rubyContrast → const Color
rubySurface → const Color
sage1 → const Color
sage1A → const Color
sage2 → const Color
sage2A → const Color
sage3 → const Color
sage3A → const Color
sage4 → const Color
sage4A → const Color
sage5 → const Color
sage5A → const Color
sage6 → const Color
sage6A → const Color
sage7 → const Color
sage7A → const Color
sage8 → const Color
sage8A → const Color
sage9 → const Color
sage9A → const Color
sage10 → const Color
sage10A → const Color
sage11 → const Color
sage11A → const Color
sage12 → const Color
sage12A → const Color
sageContrast → const Color
sageSurface → const Color
sand1 → const Color
sand1A → const Color
sand2 → const Color
sand2A → const Color
sand3 → const Color
sand3A → const Color
sand4 → const Color
sand4A → const Color
sand5 → const Color
sand5A → const Color
sand6 → const Color
sand6A → const Color
sand7 → const Color
sand7A → const Color
sand8 → const Color
sand8A → const Color
sand9 → const Color
sand9A → const Color
sand10 → const Color
sand10A → const Color
sand11 → const Color
sand11A → const Color
sand12 → const Color
sand12A → const Color
sandContrast → const Color
sandSurface → const Color
sky1 → const Color
sky1A → const Color
sky2 → const Color
sky2A → const Color
sky3 → const Color
sky3A → const Color
sky4 → const Color
sky4A → const Color
sky5 → const Color
sky5A → const Color
sky6 → const Color
sky6A → const Color
sky7 → const Color
sky7A → const Color
sky8 → const Color
sky8A → const Color
sky9 → const Color
sky9A → const Color
sky10 → const Color
sky10A → const Color
sky11 → const Color
sky11A → const Color
sky12 → const Color
sky12A → const Color
skyContrast → const Color
skySurface → const Color
slate1 → const Color
slate1A → const Color
slate2 → const Color
slate2A → const Color
slate3 → const Color
slate3A → const Color
slate4 → const Color
slate4A → const Color
slate5 → const Color
slate5A → const Color
slate6 → const Color
slate6A → const Color
slate7 → const Color
slate7A → const Color
slate8 → const Color
slate8A → const Color
slate9 → const Color
slate9A → const Color
slate10 → const Color
slate10A → const Color
slate11 → const Color
slate11A → const Color
slate12 → const Color
slate12A → const Color
slateContrast → const Color
slateSurface → const Color
teal1 → const Color
teal1A → const Color
teal2 → const Color
teal2A → const Color
teal3 → const Color
teal3A → const Color
teal4 → const Color
teal4A → const Color
teal5 → const Color
teal5A → const Color
teal6 → const Color
teal6A → const Color
teal7 → const Color
teal7A → const Color
teal8 → const Color
teal8A → const Color
teal9 → const Color
teal9A → const Color
teal10 → const Color
teal10A → const Color
teal11 → const Color
teal11A → const Color
teal12 → const Color
teal12A → const Color
tealContrast → const Color
tealSurface → const Color
tomato1 → const Color
tomato1A → const Color
tomato2 → const Color
tomato2A → const Color
tomato3 → const Color
tomato3A → const Color
tomato4 → const Color
tomato4A → const Color
tomato5 → const Color
tomato5A → const Color
tomato6 → const Color
tomato6A → const Color
tomato7 → const Color
tomato7A → const Color
tomato8 → const Color
tomato8A → const Color
tomato9 → const Color
tomato9A → const Color
tomato10 → const Color
tomato10A → const Color
tomato11 → const Color
tomato11A → const Color
tomato12 → const Color
tomato12A → const Color
tomatoContrast → const Color
tomatoSurface → const Color
violet1 → const Color
violet1A → const Color
violet2 → const Color
violet2A → const Color
violet3 → const Color
violet3A → const Color
violet4 → const Color
violet4A → const Color
violet5 → const Color
violet5A → const Color
violet6 → const Color
violet6A → const Color
violet7 → const Color
violet7A → const Color
violet8 → const Color
violet8A → const Color
violet9 → const Color
violet9A → const Color
violet10 → const Color
violet10A → const Color
violet11 → const Color
violet11A → const Color
violet12 → const Color
violet12A → const Color
violetContrast → const Color
violetSurface → const Color
yellow1 → const Color
yellow1A → const Color
yellow2 → const Color
yellow2A → const Color
yellow3 → const Color
yellow3A → const Color
yellow4 → const Color
yellow4A → const Color
yellow5 → const Color
yellow5A → const Color
yellow6 → const Color
yellow6A → const Color
yellow7 → const Color
yellow7A → const Color
yellow8 → const Color
yellow8A → const Color
yellow9 → const Color
yellow9A → const Color
yellow10 → const Color
yellow10A → const Color
yellow11 → const Color
yellow11A → const Color
yellow12 → const Color
yellow12A → const Color
yellowContrast → const Color
yellowSurface → const Color