FadeShaderTransition class final

A uniform shader cross-fade. Equivalent in look to a FadeTransition but driven by the same shader pipeline (so it composes with cover and the lifecycle callbacks like every other ShaderTransition).

Inheritance

Constructors

FadeShaderTransition({Duration duration = const Duration(milliseconds: 400), TransitionCover? cover, bool invert = false})
Creates a uniform cross-fade 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
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