Shadows class abstract

Tailwind's shadow scale.

These are the CSS values as written; the clipping CSS does on top of them — an outer shadow is never visible through the element it belongs to — is ShadShadowDecoration's job, and every Shad component paints its shadows through one. Handing these to a plain BoxDecoration instead gives Flutter's own behaviour, which paints the whole blurred shape behind the box and so washes a transparent or translucent fill grey.

Constructors

Shadows()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

inner → const List<BoxShadow>
lg → const List<BoxShadow>
md → const List<BoxShadow>
none → const List<BoxShadow>
Tailwind's shadow-none.
regular → const List<BoxShadow>
sm → const List<BoxShadow>
xl → const List<BoxShadow>
xl2 → const List<BoxShadow>
xs → const List<BoxShadow>
Tailwind's shadow-xs.