PdfColors class Null safety

Material design colors

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

getColor(int index) PdfColor
Get a pseudo-random color

Constants

accents → const List<PdfColor>
The material design accent color swatches.
<PdfColor>[redAccent, pinkAccent, purpleAccent, deepPurpleAccent, indigoAccent, blueAccent, lightBlueAccent, cyanAccent, tealAccent, greenAccent, lightGreenAccent, limeAccent, yellowAccent, ambe…
amber → const PdfColor
amber500
amber50 → const PdfColor
PdfColor.fromInt(0xfffff8e1)
amber100 → const PdfColor
PdfColor.fromInt(0xffffecb3)
amber200 → const PdfColor
PdfColor.fromInt(0xffffe082)
amber300 → const PdfColor
PdfColor.fromInt(0xffffd54f)
amber400 → const PdfColor
PdfColor.fromInt(0xffffca28)
amber500 → const PdfColor
PdfColor.fromInt(0xffffc107)
amber600 → const PdfColor
PdfColor.fromInt(0xffffb300)
amber700 → const PdfColor
PdfColor.fromInt(0xffffa000)
amber800 → const PdfColor
PdfColor.fromInt(0xffff8f00)
amber900 → const PdfColor
PdfColor.fromInt(0xffff6f00)
amberAccent → const PdfColor
amberAccent200
amberAccent100 → const PdfColor
PdfColor.fromInt(0xffffe57f)
amberAccent200 → const PdfColor
PdfColor.fromInt(0xffffd740)
amberAccent400 → const PdfColor
PdfColor.fromInt(0xffffc400)
amberAccent700 → const PdfColor
PdfColor.fromInt(0xffffab00)
black → const PdfColor
PdfColor.fromInt(0xff000000)
blue → const PdfColor
blue500
blue50 → const PdfColor
PdfColor.fromInt(0xffe3f2fd)
blue100 → const PdfColor
PdfColor.fromInt(0xffbbdefb)
blue200 → const PdfColor
PdfColor.fromInt(0xff90caf9)
blue300 → const PdfColor
PdfColor.fromInt(0xff64b5f6)
blue400 → const PdfColor
PdfColor.fromInt(0xff42a5f5)
blue500 → const PdfColor
PdfColor.fromInt(0xff2196f3)
blue600 → const PdfColor
PdfColor.fromInt(0xff1e88e5)
blue700 → const PdfColor
PdfColor.fromInt(0xff1976d2)
blue800 → const PdfColor
PdfColor.fromInt(0xff1565c0)
blue900 → const PdfColor
PdfColor.fromInt(0xff0d47a1)
blueAccent → const PdfColor
blueAccent200
blueAccent100 → const PdfColor
PdfColor.fromInt(0xff82b1ff)
blueAccent200 → const PdfColor
PdfColor.fromInt(0xff448aff)
blueAccent400 → const PdfColor
PdfColor.fromInt(0xff2979ff)
blueAccent700 → const PdfColor
PdfColor.fromInt(0xff2962ff)
blueGrey → const PdfColor
blueGrey500
blueGrey50 → const PdfColor
PdfColor.fromInt(0xffeceff1)
blueGrey100 → const PdfColor
PdfColor.fromInt(0xffcfd8dc)
blueGrey200 → const PdfColor
PdfColor.fromInt(0xffb0bec5)
blueGrey300 → const PdfColor
PdfColor.fromInt(0xff90a4ae)
blueGrey400 → const PdfColor
PdfColor.fromInt(0xff78909c)
blueGrey500 → const PdfColor
PdfColor.fromInt(0xff607d8b)
blueGrey600 → const PdfColor
PdfColor.fromInt(0xff546e7a)
blueGrey700 → const PdfColor
PdfColor.fromInt(0xff455a64)
blueGrey800 → const PdfColor
PdfColor.fromInt(0xff37474f)
blueGrey900 → const PdfColor
PdfColor.fromInt(0xff263238)
brown → const PdfColor
brown500
brown50 → const PdfColor
PdfColor.fromInt(0xffefebe9)
brown100 → const PdfColor
PdfColor.fromInt(0xffd7ccc8)
brown200 → const PdfColor
PdfColor.fromInt(0xffbcaaa4)
brown300 → const PdfColor
PdfColor.fromInt(0xffa1887f)
brown400 → const PdfColor
PdfColor.fromInt(0xff8d6e63)
brown500 → const PdfColor
PdfColor.fromInt(0xff795548)
brown600 → const PdfColor
PdfColor.fromInt(0xff6d4c41)
brown700 → const PdfColor
PdfColor.fromInt(0xff5d4037)
brown800 → const PdfColor
PdfColor.fromInt(0xff4e342e)
brown900 → const PdfColor
PdfColor.fromInt(0xff3e2723)
cyan → const PdfColor
cyan500
cyan50 → const PdfColor
PdfColor.fromInt(0xffe0f7fa)
cyan100 → const PdfColor
PdfColor.fromInt(0xffb2ebf2)
cyan200 → const PdfColor
PdfColor.fromInt(0xff80deea)
cyan300 → const PdfColor
PdfColor.fromInt(0xff4dd0e1)
cyan400 → const PdfColor
PdfColor.fromInt(0xff26c6da)
cyan500 → const PdfColor
PdfColor.fromInt(0xff00bcd4)
cyan600 → const PdfColor
PdfColor.fromInt(0xff00acc1)
cyan700 → const PdfColor
PdfColor.fromInt(0xff0097a7)
cyan800 → const PdfColor
PdfColor.fromInt(0xff00838f)
cyan900 → const PdfColor
PdfColor.fromInt(0xff006064)
cyanAccent → const PdfColor
cyanAccent200
cyanAccent100 → const PdfColor
PdfColor.fromInt(0xff84ffff)
cyanAccent200 → const PdfColor
PdfColor.fromInt(0xff18ffff)
cyanAccent400 → const PdfColor
PdfColor.fromInt(0xff00e5ff)
cyanAccent700 → const PdfColor
PdfColor.fromInt(0xff00b8d4)
deepOrange → const PdfColor
deepOrange500
deepOrange50 → const PdfColor
PdfColor.fromInt(0xfffbe9e7)
deepOrange100 → const PdfColor
PdfColor.fromInt(0xffffccbc)
deepOrange200 → const PdfColor
PdfColor.fromInt(0xffffab91)
deepOrange300 → const PdfColor
PdfColor.fromInt(0xffff8a65)
deepOrange400 → const PdfColor
PdfColor.fromInt(0xffff7043)
deepOrange500 → const PdfColor
PdfColor.fromInt(0xffff5722)
deepOrange600 → const PdfColor
PdfColor.fromInt(0xfff4511e)
deepOrange700 → const PdfColor
PdfColor.fromInt(0xffe64a19)
deepOrange800 → const PdfColor
PdfColor.fromInt(0xffd84315)
deepOrange900 → const PdfColor
PdfColor.fromInt(0xffbf360c)
deepOrangeAccent → const PdfColor
deepOrangeAccent200
deepOrangeAccent100 → const PdfColor
PdfColor.fromInt(0xffff9e80)
deepOrangeAccent200 → const PdfColor
PdfColor.fromInt(0xffff6e40)
deepOrangeAccent400 → const PdfColor
PdfColor.fromInt(0xffff3d00)
deepOrangeAccent700 → const PdfColor
PdfColor.fromInt(0xffdd2c00)
deepPurple → const PdfColor
deepPurple500
deepPurple50 → const PdfColor
PdfColor.fromInt(0xffede7f6)
deepPurple100 → const PdfColor
PdfColor.fromInt(0xffd1c4e9)
deepPurple200 → const PdfColor
PdfColor.fromInt(0xffb39ddb)
deepPurple300 → const PdfColor
PdfColor.fromInt(0xff9575cd)
deepPurple400 → const PdfColor
PdfColor.fromInt(0xff7e57c2)
deepPurple500 → const PdfColor
PdfColor.fromInt(0xff673ab7)
deepPurple600 → const PdfColor
PdfColor.fromInt(0xff5e35b1)
deepPurple700 → const PdfColor
PdfColor.fromInt(0xff512da8)
deepPurple800 → const PdfColor
PdfColor.fromInt(0xff4527a0)
deepPurple900 → const PdfColor
PdfColor.fromInt(0xff311b92)
deepPurpleAccent → const PdfColor
deepPurpleAccent200
deepPurpleAccent100 → const PdfColor
PdfColor.fromInt(0xffb388ff)
deepPurpleAccent200 → const PdfColor
PdfColor.fromInt(0xff7c4dff)
deepPurpleAccent400 → const PdfColor
PdfColor.fromInt(0xff651fff)
deepPurpleAccent700 → const PdfColor
PdfColor.fromInt(0xff6200ea)
green → const PdfColor
green500
green50 → const PdfColor
PdfColor.fromInt(0xffe8f5e9)
green100 → const PdfColor
PdfColor.fromInt(0xffc8e6c9)
green200 → const PdfColor
PdfColor.fromInt(0xffa5d6a7)
green300 → const PdfColor
PdfColor.fromInt(0xff81c784)
green400 → const PdfColor
PdfColor.fromInt(0xff66bb6a)
green500 → const PdfColor
PdfColor.fromInt(0xff4caf50)
green600 → const PdfColor
PdfColor.fromInt(0xff43a047)
green700 → const PdfColor
PdfColor.fromInt(0xff388e3c)
green800 → const PdfColor
PdfColor.fromInt(0xff2e7d32)
green900 → const PdfColor
PdfColor.fromInt(0xff1b5e20)
greenAccent → const PdfColor
greenAccent200
greenAccent100 → const PdfColor
PdfColor.fromInt(0xffb9f6ca)
greenAccent200 → const PdfColor
PdfColor.fromInt(0xff69f0ae)
greenAccent400 → const PdfColor
PdfColor.fromInt(0xff00e676)
greenAccent700 → const PdfColor
PdfColor.fromInt(0xff00c853)
grey → const PdfColor
grey500
grey50 → const PdfColor
PdfColor.fromInt(0xfffafafa)
grey100 → const PdfColor
PdfColor.fromInt(0xfff5f5f5)
grey200 → const PdfColor
PdfColor.fromInt(0xffeeeeee)
grey300 → const PdfColor
PdfColor.fromInt(0xffe0e0e0)
grey400 → const PdfColor
PdfColor.fromInt(0xffbdbdbd)
grey500 → const PdfColor
PdfColor.fromInt(0xff9e9e9e)
grey600 → const PdfColor
PdfColor.fromInt(0xff757575)
grey700 → const PdfColor
PdfColor.fromInt(0xff616161)
grey800 → const PdfColor
PdfColor.fromInt(0xff424242)
grey900 → const PdfColor
PdfColor.fromInt(0xff212121)
indigo → const PdfColor
indigo500
indigo50 → const PdfColor
PdfColor.fromInt(0xffe8eaf6)
indigo100 → const PdfColor
PdfColor.fromInt(0xffc5cae9)
indigo200 → const PdfColor
PdfColor.fromInt(0xff9fa8da)
indigo300 → const PdfColor
PdfColor.fromInt(0xff7986cb)
indigo400 → const PdfColor
PdfColor.fromInt(0xff5c6bc0)
indigo500 → const PdfColor
PdfColor.fromInt(0xff3f51b5)
indigo600 → const PdfColor
PdfColor.fromInt(0xff3949ab)
indigo700 → const PdfColor
PdfColor.fromInt(0xff303f9f)
indigo800 → const PdfColor
PdfColor.fromInt(0xff283593)
indigo900 → const PdfColor
PdfColor.fromInt(0xff1a237e)
indigoAccent → const PdfColor
indigoAccent200
indigoAccent100 → const PdfColor
PdfColor.fromInt(0xff8c9eff)
indigoAccent200 → const PdfColor
PdfColor.fromInt(0xff536dfe)
indigoAccent400 → const PdfColor
PdfColor.fromInt(0xff3d5afe)
indigoAccent700 → const PdfColor
PdfColor.fromInt(0xff304ffe)
lightBlue → const PdfColor
lightBlue500
lightBlue50 → const PdfColor
PdfColor.fromInt(0xffe1f5fe)
lightBlue100 → const PdfColor
PdfColor.fromInt(0xffb3e5fc)
lightBlue200 → const PdfColor
PdfColor.fromInt(0xff81d4fa)
lightBlue300 → const PdfColor
PdfColor.fromInt(0xff4fc3f7)
lightBlue400 → const PdfColor
PdfColor.fromInt(0xff29b6f6)
lightBlue500 → const PdfColor
PdfColor.fromInt(0xff03a9f4)
lightBlue600 → const PdfColor
PdfColor.fromInt(0xff039be5)
lightBlue700 → const PdfColor
PdfColor.fromInt(0xff0288d1)
lightBlue800 → const PdfColor
PdfColor.fromInt(0xff0277bd)
lightBlue900 → const PdfColor
PdfColor.fromInt(0xff01579b)
lightBlueAccent → const PdfColor
lightBlueAccent200
lightBlueAccent100 → const PdfColor
PdfColor.fromInt(0xff80d8ff)
lightBlueAccent200 → const PdfColor
PdfColor.fromInt(0xff40c4ff)
lightBlueAccent400 → const PdfColor
PdfColor.fromInt(0xff00b0ff)
lightBlueAccent700 → const PdfColor
PdfColor.fromInt(0xff0091ea)
lightGreen → const PdfColor
lightGreen500
lightGreen50 → const PdfColor
PdfColor.fromInt(0xfff1f8e9)
lightGreen100 → const PdfColor
PdfColor.fromInt(0xffdcedc8)
lightGreen200 → const PdfColor
PdfColor.fromInt(0xffc5e1a5)
lightGreen300 → const PdfColor
PdfColor.fromInt(0xffaed581)
lightGreen400 → const PdfColor
PdfColor.fromInt(0xff9ccc65)
lightGreen500 → const PdfColor
PdfColor.fromInt(0xff8bc34a)
lightGreen600 → const PdfColor
PdfColor.fromInt(0xff7cb342)
lightGreen700 → const PdfColor
PdfColor.fromInt(0xff689f38)
lightGreen800 → const PdfColor
PdfColor.fromInt(0xff558b2f)
lightGreen900 → const PdfColor
PdfColor.fromInt(0xff33691e)
lightGreenAccent → const PdfColor
lightGreenAccent200
lightGreenAccent100 → const PdfColor
PdfColor.fromInt(0xffccff90)
lightGreenAccent200 → const PdfColor
PdfColor.fromInt(0xffb2ff59)
lightGreenAccent400 → const PdfColor
PdfColor.fromInt(0xff76ff03)
lightGreenAccent700 → const PdfColor
PdfColor.fromInt(0xff64dd17)
lime → const PdfColor
lime500
lime50 → const PdfColor
PdfColor.fromInt(0xfff9fbe7)
lime100 → const PdfColor
PdfColor.fromInt(0xfff0f4c3)
lime200 → const PdfColor
PdfColor.fromInt(0xffe6ee9c)
lime300 → const PdfColor
PdfColor.fromInt(0xffdce775)
lime400 → const PdfColor
PdfColor.fromInt(0xffd4e157)
lime500 → const PdfColor
PdfColor.fromInt(0xffcddc39)
lime600 → const PdfColor
PdfColor.fromInt(0xffc0ca33)
lime700 → const PdfColor
PdfColor.fromInt(0xffafb42b)
lime800 → const PdfColor
PdfColor.fromInt(0xff9e9d24)
lime900 → const PdfColor
PdfColor.fromInt(0xff827717)
limeAccent → const PdfColor
limeAccent200
limeAccent100 → const PdfColor
PdfColor.fromInt(0xfff4ff81)
limeAccent200 → const PdfColor
PdfColor.fromInt(0xffeeff41)
limeAccent400 → const PdfColor
PdfColor.fromInt(0xffc6ff00)
limeAccent700 → const PdfColor
PdfColor.fromInt(0xffaeea00)
orange → const PdfColor
orange500
orange50 → const PdfColor
PdfColor.fromInt(0xfffff3e0)
orange100 → const PdfColor
PdfColor.fromInt(0xffffe0b2)
orange200 → const PdfColor
PdfColor.fromInt(0xffffcc80)
orange300 → const PdfColor
PdfColor.fromInt(0xffffb74d)
orange400 → const PdfColor
PdfColor.fromInt(0xffffa726)
orange500 → const PdfColor
PdfColor.fromInt(0xffff9800)
orange600 → const PdfColor
PdfColor.fromInt(0xfffb8c00)
orange700 → const PdfColor
PdfColor.fromInt(0xfff57c00)
orange800 → const PdfColor
PdfColor.fromInt(0xffef6c00)
orange900 → const PdfColor
PdfColor.fromInt(0xffe65100)
orangeAccent → const PdfColor
orangeAccent200
orangeAccent100 → const PdfColor
PdfColor.fromInt(0xffffd180)
orangeAccent200 → const PdfColor
PdfColor.fromInt(0xffffab40)
orangeAccent400 → const PdfColor
PdfColor.fromInt(0xffff9100)
orangeAccent700 → const PdfColor
PdfColor.fromInt(0xffff6d00)
pink → const PdfColor
pink500
pink50 → const PdfColor
PdfColor.fromInt(0xfffce4ec)
pink100 → const PdfColor
PdfColor.fromInt(0xfff8bbd0)
pink200 → const PdfColor
PdfColor.fromInt(0xfff48fb1)
pink300 → const PdfColor
PdfColor.fromInt(0xfff06292)
pink400 → const PdfColor
PdfColor.fromInt(0xffec407a)
pink500 → const PdfColor
PdfColor.fromInt(0xffe91e63)
pink600 → const PdfColor
PdfColor.fromInt(0xffd81b60)
pink700 → const PdfColor
PdfColor.fromInt(0xffc2185b)
pink800 → const PdfColor
PdfColor.fromInt(0xffad1457)
pink900 → const PdfColor
PdfColor.fromInt(0xff880e4f)
pinkAccent → const PdfColor
pinkAccent200
pinkAccent100 → const PdfColor
PdfColor.fromInt(0xffff80ab)
pinkAccent200 → const PdfColor
PdfColor.fromInt(0xffff4081)
pinkAccent400 → const PdfColor
PdfColor.fromInt(0xfff50057)
pinkAccent700 → const PdfColor
PdfColor.fromInt(0xffc51162)
primaries → const List<PdfColor>
The material design primary color swatches, excluding grey.
<PdfColor>[red, pink, purple, deepPurple, indigo, blue, lightBlue, cyan, teal, green, lightGreen, lime, yellow, amber, orange, deepOrange, brown, grey, blueGrey]
purple → const PdfColor
purple500
purple50 → const PdfColor
PdfColor.fromInt(0xfff3e5f5)
purple100 → const PdfColor
PdfColor.fromInt(0xffe1bee7)
purple200 → const PdfColor
PdfColor.fromInt(0xffce93d8)
purple300 → const PdfColor
PdfColor.fromInt(0xffba68c8)
purple400 → const PdfColor
PdfColor.fromInt(0xffab47bc)
purple500 → const PdfColor
PdfColor.fromInt(0xff9c27b0)
purple600 → const PdfColor
PdfColor.fromInt(0xff8e24aa)
purple700 → const PdfColor
PdfColor.fromInt(0xff7b1fa2)
purple800 → const PdfColor
PdfColor.fromInt(0xff6a1b9a)
purple900 → const PdfColor
PdfColor.fromInt(0xff4a148c)
purpleAccent → const PdfColor
purpleAccent200
purpleAccent100 → const PdfColor
PdfColor.fromInt(0xffea80fc)
purpleAccent200 → const PdfColor
PdfColor.fromInt(0xffe040fb)
purpleAccent400 → const PdfColor
PdfColor.fromInt(0xffd500f9)
purpleAccent700 → const PdfColor
PdfColor.fromInt(0xffaa00ff)
red → const PdfColor
red500
red50 → const PdfColor
PdfColor.fromInt(0xffffebee)
red100 → const PdfColor
PdfColor.fromInt(0xffffcdd2)
red200 → const PdfColor
PdfColor.fromInt(0xffef9a9a)
red300 → const PdfColor
PdfColor.fromInt(0xffe57373)
red400 → const PdfColor
PdfColor.fromInt(0xffef5350)
red500 → const PdfColor
PdfColor.fromInt(0xfff44336)
red600 → const PdfColor
PdfColor.fromInt(0xffe53935)
red700 → const PdfColor
PdfColor.fromInt(0xffd32f2f)
red800 → const PdfColor
PdfColor.fromInt(0xffc62828)
red900 → const PdfColor
PdfColor.fromInt(0xffb71c1c)
redAccent → const PdfColor
redAccent200
redAccent100 → const PdfColor
PdfColor.fromInt(0xffff8a80)
redAccent200 → const PdfColor
PdfColor.fromInt(0xffff5252)
redAccent400 → const PdfColor
PdfColor.fromInt(0xffff1744)
redAccent700 → const PdfColor
PdfColor.fromInt(0xffd50000)
teal → const PdfColor
teal500
teal50 → const PdfColor
PdfColor.fromInt(0xffe0f2f1)
teal100 → const PdfColor
PdfColor.fromInt(0xffb2dfdb)
teal200 → const PdfColor
PdfColor.fromInt(0xff80cbc4)
teal300 → const PdfColor
PdfColor.fromInt(0xff4db6ac)
teal400 → const PdfColor
PdfColor.fromInt(0xff26a69a)
teal500 → const PdfColor
PdfColor.fromInt(0xff009688)
teal600 → const PdfColor
PdfColor.fromInt(0xff00897b)
teal700 → const PdfColor
PdfColor.fromInt(0xff00796b)
teal800 → const PdfColor
PdfColor.fromInt(0xff00695c)
teal900 → const PdfColor
PdfColor.fromInt(0xff004d40)
tealAccent → const PdfColor
tealAccent200
tealAccent100 → const PdfColor
PdfColor.fromInt(0xffa7ffeb)
tealAccent200 → const PdfColor
PdfColor.fromInt(0xff64ffda)
tealAccent400 → const PdfColor
PdfColor.fromInt(0xff1de9b6)
tealAccent700 → const PdfColor
PdfColor.fromInt(0xff00bfa5)
white → const PdfColor
PdfColor.fromInt(0xffffffff)
yellow → const PdfColor
yellow500
yellow50 → const PdfColor
PdfColor.fromInt(0xfffffde7)
yellow100 → const PdfColor
PdfColor.fromInt(0xfffff9c4)
yellow200 → const PdfColor
PdfColor.fromInt(0xfffff59d)
yellow300 → const PdfColor
PdfColor.fromInt(0xfffff176)
yellow400 → const PdfColor
PdfColor.fromInt(0xffffee58)
yellow500 → const PdfColor
PdfColor.fromInt(0xffffeb3b)
yellow600 → const PdfColor
PdfColor.fromInt(0xfffdd835)
yellow700 → const PdfColor
PdfColor.fromInt(0xfffbc02d)
yellow800 → const PdfColor
PdfColor.fromInt(0xfff9a825)
yellow900 → const PdfColor
PdfColor.fromInt(0xfff57f17)
yellowAccent → const PdfColor
yellowAccent200
yellowAccent100 → const PdfColor
PdfColor.fromInt(0xffffff8d)
yellowAccent200 → const PdfColor
PdfColor.fromInt(0xffffff00)
yellowAccent400 → const PdfColor
PdfColor.fromInt(0xffffea00)
yellowAccent700 → const PdfColor
PdfColor.fromInt(0xffffd600)