OpenColorRgb enum

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

Inheritance
Implemented types
Available extensions

Values

gray → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFADB5BD), 0.45606106758087217), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFF8F9FA), 0.94609949…
red → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFF6B6B), 0.3283692696402063), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFFF5F5), 0.931573878…
pink → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFF06595), 0.30002551962743185), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFFF0F6), 0.90233997…
grape → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFCC5DE8), 0.26492266079300447), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFF8F0FC), 0.89304909…
violet → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF845EF7), 0.19626341067993713), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFF3F0FF), 0.88594862…
indigo → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF5C7CFA), 0.23592742051153093), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFEDF2FF), 0.88728786…
blue → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF339AF0), 0.3010628025367057), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFE7F5FF), 0.895137397…
cyan → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF22B8CF), 0.39126054720215914), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFE3FAFC), 0.91730382…
teal → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF20C997), 0.4431473018517139), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFE6FCF5), 0.930363736…
green → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF51CF66), 0.47334286847799867), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFEBFBEE), 0.92829574…
lime → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFF94D82D), 0.5559709480462673), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFF4FCE3), 0.943999550…
yellow → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFCC419), 0.6024548949906061), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFFF9DB), 0.941258366…
orange → const OpenColorRgb
const OpenColorRgb(RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFF922B), 0.41992186820507343), {RayTone.shade50 : RayWithLuminance<RayRgb8>(RayRgb8.fromArgbInt(0xFFFFF4E6), 0.91674538…

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

Constants

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