CLSurfaceKind enum

Preset di superficie — le tipologie ricorrenti censite dall'audit 2026-07-02.

Inheritance
Available extensions

Values

cardElevated → const CLSurfaceKind

Card in rilievo: radiusCard + cardShadow + bordo cardBorder.

cardSoft → const CLSurfaceKind

Card leggera: radiusCard + cardShadowSoft, senza bordo.

recessed → const CLSurfaceKind

Superficie incassata (L0): primaryBackground, radiusSurface, no ombra.

panel → const CLSurfaceKind

Pannello flottante (popover/menu/dialog): radiusSurface + popoverShadow

  • bordo hairline. Per i dialog passare radius: theme.radiusModal.
tint → const CLSurfaceKind

Tinta tonale (chip/badge/banner): colore × opacitySoft, radiusChip.

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<CLSurfaceKind>
A constant List of the values in this enum, in order of their declaration.