OpenColorOklch enum
Oklch-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 OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.7692442490031026, 0.014517726966557674, 248.01660539258867, 1.0), 0.7692442490031026), {RayTone.shade50 : RayWithLuminan… - red → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.7116074706631338, 0.18122126992448143, 22.838885625987132, 1.0), 0.7116074706631338), {RayTone.shade50 : RayWithLuminanc… - pink → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.6923780660663754, 0.17650629970503368, 1.2501063710858498, 1.0), 0.6923780660663754), {RayTone.shade50 : RayWithLuminanc… - grape → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.6695475670917609, 0.21886254996865603, 319.0744796920802, 1.0), 0.6695475670917609), {RayTone.shade50 : RayWithLuminance… - violet → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.602860017077914, 0.21753282323959275, 289.6918209147517, 1.0), 0.602860017077914), {RayTone.shade50 : RayWithLuminance&l… - indigo → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.627975473383132, 0.1906748534877489, 269.49628317270157, 1.0), 0.627975473383132), {RayTone.shade50 : RayWithLuminance&l… - blue → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.6689061233604712, 0.15745406753960012, 248.31816006618072, 1.0), 0.6689061233604712), {RayTone.shade50 : RayWithLuminanc… - cyan → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.7200426406285031, 0.11928095519011142, 211.22375049130488, 1.0), 0.7200426406285031), {RayTone.shade50 : RayWithLuminanc… - teal → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.7440902802096446, 0.14802219323496066, 166.3634111996037, 1.0), 0.7440902802096446), {RayTone.shade50 : RayWithLuminance… - green → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.7602390939598339, 0.18316474134207184, 146.60663460540724, 1.0), 0.7602390939598339), {RayTone.shade50 : RayWithLuminanc… - lime → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.8070504596921555, 0.20209277315943788, 129.79576470356025, 1.0), 0.8070504596921555), {RayTone.shade50 : RayWithLuminanc… - yellow → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.8471224600588796, 0.16934356946111773, 87.12447328053877, 1.0), 0.8471224600588796), {RayTone.shade50 : RayWithLuminance… - orange → const OpenColorOklch
-
const OpenColorOklch(RayWithLuminance<RayOklch>(RayOklch.fromComponents(0.761585833656651, 0.16860311721681182, 57.801154247888604, 1.0), 0.761585833656651), {RayTone.shade50 : RayWithLuminance&…
Properties
-
accent100
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
accent200
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
accent400
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
accent700
→ RayWithLuminance<
RayOklch> ? -
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<
RayOklch> ? -
Access tones using Material Design naming convention
no setteroverride
-
shade100
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade1000
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade200
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade300
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade400
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade50
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade500
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade600
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade700
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade800
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade900
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
shade950
→ RayWithLuminance<
RayOklch> ? -
no setteroverride
-
source
→ RayWithLuminance<
RayOklch> -
The source color with precomputed luminance
final
-
spectrum
→ Map<
RayTone, RayWithLuminance< RayOklch> > -
The complete tonal palette
final
-
surfaceDark
→ RayWithLuminance<
RayOklch> -
A darker surface variant of the primary color
no setteroverride
-
surfaceLight
→ RayWithLuminance<
RayOklch> -
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< RayOklch> ? -
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<
OpenColorOklch> - A constant List of the values in this enum, in order of their declaration.