MaterialRgb enum

RGB-based Spectrum enum for the Material palette. Each enum value implements Spectrum directly for clean API access.

Inheritance
Implemented types
Available extensions

Values

red → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFF44336), 0.23513748007799182), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFFEBEE), 0.868497082…
pink → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFE91E63), 0.1915303712121659), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFCE4EC), 0.8223838079…
purple → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF9C27B0), 0.11653546945713242), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFF3E5F5), 0.816858815…
deepPurple → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF673AB7), 0.09328574078258609), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFEDE7F6), 0.818101737…
indigo → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF3F51B5), 0.10277816744251717), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFE8EAF6), 0.826552631…
blue → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF2196F3), 0.2860709045027159), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFE3F2FD), 0.8692700375…
lightBlue → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF03A9F4), 0.34926946731611674), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFE1F5FE), 0.884681242…
cyan → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF00BCD4), 0.40719905659246924), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFE0F7FA), 0.892709496…
teal → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF009688), 0.23590266281108835), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFE0F2F1), 0.857024285…
green → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF4CAF50), 0.3277563096600313), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFE8F5E9), 0.8834381282…
lightGreen → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF8BC34A), 0.4501359331658544), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFF1F8E9), 0.9171876770…
lime → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFCDDC39), 0.6446094271326618), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFF9FBE7), 0.9490361918…
yellow → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFFEB3B), 0.8099242849815864), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFFFDE7), 0.9728008112…
amber → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFFC107), 0.5941526866857989), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFFF8E1), 0.9383104610…
orange → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFF9800), 0.4371647278063132), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFFF3E0), 0.9074300254…
deepOrange → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFF5722), 0.28191883251545574), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFBE9E7), 0.845565782…
brown → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF795548), 0.1102982654442932), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFEFEBE9), 0.8365057619…
gray → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF9E9E9E), 0.3419144249086609), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFAFAFA), 0.9559733532…
blueGray → const MaterialRgb
const MaterialRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF607D8B), 0.19018107821275326), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFECEFF1), 0.859167446…

Properties

accent100 RayWithLuminance<RayRgb8>?
no setteroverride
accent200 RayWithLuminance<RayRgb8>?
no setteroverride
accent400 RayWithLuminance<RayRgb8>?
no setteroverride
accent700 RayWithLuminance<RayRgb8>?
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shade0 RayWithLuminance<RayRgb8>?
Access tones using Material Design naming convention
no setteroverride
shade100 RayWithLuminance<RayRgb8>?
no setteroverride
shade1000 RayWithLuminance<RayRgb8>?
no setteroverride
shade200 RayWithLuminance<RayRgb8>?
no setteroverride
shade300 RayWithLuminance<RayRgb8>?
no setteroverride
shade400 RayWithLuminance<RayRgb8>?
no setteroverride
shade50 RayWithLuminance<RayRgb8>?
no setteroverride
shade500 RayWithLuminance<RayRgb8>?
no setteroverride
shade600 RayWithLuminance<RayRgb8>?
no setteroverride
shade700 RayWithLuminance<RayRgb8>?
no setteroverride
shade800 RayWithLuminance<RayRgb8>?
no setteroverride
shade900 RayWithLuminance<RayRgb8>?
no setteroverride
shade950 RayWithLuminance<RayRgb8>?
no setteroverride
source RayWithLuminance<RayRgb8>
The source color with precomputed luminance
final
spectrum Map<RayTone, RayWithLuminance<RayRgb8>>
The complete tonal palette
final
surfaceDark RayWithLuminance<RayRgb8>
A darker surface variant of the primary color
no setteroverride
surfaceLight RayWithLuminance<RayRgb8>
A lighter surface variant of the primary color
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tone(RayTone tone) RayWithLuminance<RayRgb8>?
Access specific tone by RayTone enum
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

black RayWithLuminance<RayRgb8>
no setter
fixedRays Map<String, RayWithLuminance<RayRgb8>>
Map of all fixed rays for iteration
no setter
white RayWithLuminance<RayRgb8>
no setter

Constants

values → const List<MaterialRgb>
A constant List of the values in this enum, in order of their declaration.