TCardShadow enum

Preset shadow depths for TCard (and the Widget.card() extension).

Inheritance
Available extensions

Values

none → const TCardShadow

Flat card with the default 1px hairline shadow.

sm → const TCardShadow

Subtle lift, for list rows and dense groups.

md → const TCardShadow

Standard raised card.

lg → const TCardShadow

Prominent card, for hero blocks and floating panels.

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
resolve(Color color) → List<BoxShadow>
Resolves the layered BoxShadows for this level using color (only its RGB is used for sm..lg).
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

baseColor → const Color
Neutral base colour for sm..lg; the theme's shadow colour is a light, low-alpha grey that is too faint to differentiate levels.
values → const List<TCardShadow>
A constant List of the values in this enum, in order of their declaration.