GuardrailRule enum

One guardrail.

Inheritance
Available extensions

Values

digitLabel → const GuardrailRule
operatorLabel → const GuardrailRule
equalsLabel → const GuardrailRule
functionLabel → const GuardrailRule
displayText → const GuardrailRule
previewText → const GuardrailRule
errorText → const GuardrailRule
caret → const GuardrailRule
focusRing → const GuardrailRule
operatorVsDigit → const GuardrailRule
equalsVsDigit → const GuardrailRule
equalsVsOperator → const GuardrailRule
lcdGhost → const GuardrailRule

Unlit LCD segments too visible against the panel (Retro; a maximum).

softRim → const GuardrailRule

Soft (Neumorphism) keys: a rim below 3:1 against the background, or a rim width outside 1–1.5 dp (WCAG 1.4.11 house rule, research §7.1).

softPressedLabel → const GuardrailRule

Soft keys: the pressed label (the accent on surface-faced keys) below the label floor.

softOperatorCue → const GuardrailRule

Soft keys: the recorded weight cue is not ≥ key weight + 200.

softShadow → const GuardrailRule

Soft keys: the light shadow is not lighter, or the dark shadow not darker, than the background.

brutalOutline → const GuardrailRule

Outlined (Neo-brutalism) keys: an outline below 3:1 against a background sample (WCAG 1.4.11), or an outline width outside 2–4 dp.

brutalShadow → const GuardrailRule

Outlined keys: the hard shadow is translucent or blurred, or its offset is not the press depth (3–5 dp).

brutalOperatorCue → const GuardrailRule

Outlined keys: the recorded weight cue is not ≥ key weight + 200.

glassPressedLabel → const GuardrailRule

Glass (Liquid Glass) keys: a label below 3:1 while the press glow (Palette.highlight at its peak) lights the face.

glassOperatorTint → const GuardrailRule

Glass keys: an operator or = tint not distinct (min ΔEOK over normal + CVD ≥ 0.08) from the digit tint over the same background sample.

glassRim → const GuardrailRule

Glass keys under the Accessible lock: a rim below 3:1 against a background sample, or narrower than 1 dp.

glassOperatorCue → const GuardrailRule

Glass keys: the recorded weight cue is not ≥ key weight + 200.

clayShadowTint → const GuardrailRule

Clay (Claymorphism) keys: a drop shadow (KeyColors.edge) that is grey, off its key's hue, not visibly darker than the body, or outside alpha 0x50–0xD8.

clayKeyBody → const GuardrailRule

Clay keys melting into the body: light digits / function keys too close to it (ΔEOK, colour-blind ΔEOK, lightness), night keys < 0.15 L above it.

clayHighlight → const GuardrailRule

Clay keys: the top-left highlight lifts a face (or the pillow panel) by less than 0.025 L.

clayLabelRing → const GuardrailRule

Clay function keys: the label below the label floor on the inner shade (or the highlight) its long labels cross.

clayPanel → const GuardrailRule

Clay display panel: translucent, too close to the body, or not the raised pillow (lighter than the body).

clayStyle → const GuardrailRule

Clay renderer contract: no outline, shadow offset = press depth 4–6 dp, blur 10–14 dp, shade 0.08–0.11, a white highlight at alpha 0xA0–0xC8, a nine-colour opaque claySoft scene.

y2kLabelZone → const GuardrailRule

Y2K Aero keys: a label below the label floor on a colour of its face's label zone (the rest and pressed gel / metal body profile, y2kLabelZoneSamples).

y2kLabelPolarity → const GuardrailRule

Y2K Aero keys: a translucent face, a label not darker than its face and its pressed face, or a face below the gel floor (L 0.735; 0.755 under the Accessible lock).

y2kGloss → const GuardrailRule

Y2K Aero: the renderer contract (white specular highlight, glass style kind, cap / caustic / depth / rim / shadow ranges, no state layer, opaque faces).

y2kScene → const GuardrailRule

Y2K Aero: a malformed scene (kind, six colours, overlay alpha caps, bubble / sparkle pattern, drift).

y2kPanel → const GuardrailRule

Y2K Aero: a translucent display panel or one in the mid band (neither L ≥ 0.85 nor L ≤ 0.24).

y2kRim → const GuardrailRule

Y2K Aero: the focus ring (and, under the Accessible lock, any key rim) below 3:1 against the scene or the scene under the keys' own drop shadow (WCAG 1.4.11).

y2kOperatorCue → const GuardrailRule

Y2K Aero: the recorded weight cue is not ≥ key weight + 200.

y2kAccentVsDigit → const GuardrailRule

Y2K Aero: an operator or = face too close to the digit face (contrast < 1.2 and min ΔEOK over normal + CVD < 0.06).

y2kGround → const GuardrailRule

Y2K Aero light skies: a digit or function face (in a meadow, any key face) within ΔEOK 0.08 of the ground band behind the keypad.

paperOutline → const GuardrailRule

Paper & ink keys: a hand-drawn outline below 3:1 against a sheet sample (paper, grain, rules), translucent, or a width outside 1.25–1.75 dp.

paperOperatorCue → const GuardrailRule

Paper & ink operators: the recorded cue is not the hatch (OperatorCue.pattern), the hatch opacity is outside 0.60–0.75, the hatch lines miss 3:1 against the operator face, or the weight bonus is below 200.

paperStamp → const GuardrailRule

Paper & ink: the = stamp below 3:1 against the digit slips.

paperWash → const GuardrailRule

Paper & ink: the ink wash's tide line above alpha 58, or a label below the label floor with it laid over its face.

cyberOperatorCue → const GuardrailRule

Cyberpunk: the recorded fill-versus-outline cue is not real (a plate too light or with a darker label, a slab too dark, with a lighter label or under 3:1 against the digit plate, or operators not ≥ 200 heavier).

cyberEdge → const GuardrailRule

Cyberpunk: a plate edge line translucent or below 3:1 against its face, or an edge width outside 1–1.5 dp.

cyberKeyBoundary → const GuardrailRule

Cyberpunk: neither a key group's face nor its edge reaches 3:1 against every scene sample (WCAG 1.4.11).

cyberScene → const GuardrailRule

Cyberpunk: a malformed scene (kind, colours, ink alphas, tilt, drift, panel scanline alpha) or key shape / state layer.

vaporOperatorCue → const GuardrailRule

Vaporwave: the recorded weight cue is not ≥ key weight + 200.

vaporOperatorFace → const GuardrailRule

Vaporwave: an operator or = face less than ΔEOK 0.08 from the digit face (normal vision).

vaporAccentVsDigit → const GuardrailRule

Vaporwave: an accent face not apart from the digit or function face (min ΔEOK over normal + CVD < 0.06, or face contrast < 1.2).

vaporScene → const GuardrailRule

Vaporwave: a malformed sunset scene (kind, ten opaque colours, horizon, drift period) or a sample outside its luminance band.

vaporPanel → const GuardrailRule

Vaporwave: a translucent panel, title-bar or ink colour.

vaporOutline → const GuardrailRule

Vaporwave: a key edge that is not the drawn ink, or (light themes) an ink below 3:1 against a scene sample.

vaporBoundary → const GuardrailRule

Vaporwave dark themes: a key whose face and ink both fall below 3:1 against a plain floor colour it can sit over, or whose face, ink and outer bevel highlight all do against a grid-over-floor mix (the guarantee covers the highlighted top and left edges).

bauhausOperatorCue → const GuardrailRule

Bauhaus: the recorded shape cue is not real (digit / operator / = silhouettes, block corners).

bauhausPrimaries → const GuardrailRule

Bauhaus: operator and = are not two different primaries, digits are not neutral, or the function accent is translucent or faint.

bauhausScene → const GuardrailRule

Bauhaus: the scene's encoding, field, digit / operator / = visibility or a scene shape colour too close to the ground.

bauhausPanel → const GuardrailRule

Bauhaus: the display panel's rule below 3:1 on the sheet, or the sheet's corner accent not distinct from it.

Properties

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

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

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