DissolveTransition class final

A noise-driven dissolve: pixels reveal in a random grain as progress rises. grain widens the per-pixel fade window (softer, less speckled).

const DissolveTransition(grain: 12)
Inheritance

Constructors

DissolveTransition({double grain = 8.0, Duration duration = const Duration(milliseconds: 600), TransitionCover? cover, bool invert = false})
Creates a dissolve transition.
const

Properties

cover → TransitionCover?
Optional flat-color cover for a cinematic fade-through transition. null (default) lets the outgoing page show through — a classic mask reveal.
finalinherited
duration → Duration
Total animation time, used unchanged for both push and pop.
finalinherited
grain → double
Softness of the dissolve grain. Larger values fade pixels in over a wider progress window (smoother); near-zero is a hard speckle.
final
hashCode → int
The hash code for this object.
no setterinherited
invert → bool
Reverses the reveal direction of the effect. For CircleTransition this turns the expanding iris into a contracting one; for directional transitions it flips which side reveals first.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shaderKey → String
The ShaderRegistry key (and .frag basename) backing this transition.
no setteroverride

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