MeltDripEffect class

Characters appear to melt and drip downward.

Each character compresses vertically (meltAmount), slides down (dripHeight), and blurs as it melts, creating a wax-like effect.

Inheritance

Constructors

MeltDripEffect({Duration duration = const Duration(milliseconds: 1500), Curve curve = Curves.easeIn, double meltAmount = 0.5, double dripHeight = 40.0, double blurSigma = 3.0, Duration delayBetweenChars = const Duration(milliseconds: 30)})
Creates a melt/drip animation effect.
const

Properties

blurSigma double
Gaussian blur applied during the melt.
final
curve Curve
Curve applied to the animation timing for easing.
finalinherited
delayBetweenChars Duration
Delay between each successive character's animation start.
finalinherited
dripHeight double
Downward drip displacement in logical pixels.
final
duration Duration
Total duration of one full animation cycle for a single character.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
meltAmount double
Vertical compression factor (0.0 = no melt, 1.0 = fully compressed).
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 per-character melt (scaleY shrink, translate down, blur).
override
getTotalDuration(int charCount) Duration
Returns the total duration needed to animate all charCount characters.
inherited
noise(int index, [int offset = 0]) double
Returns a deterministic pseudo-random value (0.0–1.0) for the given index and optional offset.
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