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.
constfactory
-
TextShadow.combine(List<
TextShadow> shadows) -
Combines multiple text shadows into one.
constfactory
Properties
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