TextShadow class

The text-shadow CSS property adds shadows to text.

It creates one or multiple shadows to be applied to the text and any of its decorations. Each shadow is described by some combination of X and Y offsets from the element, blur radius, and color.

Read more: MDN text-shadow

Constructors

TextShadow({required Unit offsetX, required Unit offsetY, Unit? blur, Color? color})
Creates a text shadow with the specified properties.
const
factory
TextShadow.combine(List<TextShadow> shadows)
Combines multiple text shadows into one.
const
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
value String
The css value
final

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

inherit → const TextShadow
initial → const TextShadow
none → const TextShadow
revert → const TextShadow
revertLayer → const TextShadow
unset → const TextShadow