CssTextShadow class sealed
CSS text-shadow value type.
- Implemented types
Constructors
- CssTextShadow({required CssLength x, required CssLength y, CssLength? blur, CssColor? color})
-
Creates a single text shadow.
factory
- CssTextShadow.global(CssGlobal global)
-
Global keyword (inherit, initial, unset, revert).
factory
-
CssTextShadow.multiple(List<
CssTextShadow> shadows) -
Creates multiple text shadows.
factory
- CssTextShadow.raw(String value)
-
Raw CSS value escape hatch.
factory
- CssTextShadow.variable(String varName)
-
CSS variable reference.
factory
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
-
toCss(
) → String -
Converts this value to its CSS string representation.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- none → const CssTextShadow
- No text shadow.