GlowEffect class
Applies a pulsing glow effect behind the text.
The glow oscillates between blurMin/blurMax and opacityMin/opacityMax, with an optional glowColor tint.
- Inheritance
-
- Object
- TextEffect
- GlowEffect
Constructors
Properties
- blurMax → double
-
Maximum blur sigma at the glow's strongest point.
final
- blurMin → double
-
Minimum blur sigma at the glow's weakest point.
final
- curve → Curve
-
Curve applied to the animation timing for easing.
finalinherited
- delayBetweenChars → Duration
-
Delay between each successive character's animation start.
finalinherited
- duration → Duration
-
Total duration of one full animation cycle for a single character.
finalinherited
- glowColor → Color?
-
Optional color tint applied while glowing.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- opacityMax → double
-
Maximum opacity at the glow's strongest point.
final
- opacityMin → double
-
Minimum opacity at the glow's weakest point.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyCurve(
double t) → double -
Applies the effect's curve to a linear value
t(0.0–1.0).inherited -
getAnimations(
double progress, int charCount) → List< CharacterAnimation> -
Generates uniform blur/opacity/color pulse across all characters.
override
-
getTotalDuration(
int charCount) → Duration -
Returns the total duration needed to animate all
charCountcharacters.override -
noise(
int index, [int offset = 0]) → double -
Returns a deterministic pseudo-random value (0.0–1.0) for the given
indexand optionaloffset.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
staggeredProgress(
double globalProgress, int index, int charCount) → double -
Computes the per-character progress for staggered animations.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited