CircleTransition class final

A circular iris reveal that grows (or, with invert, shrinks) from origin.

const CircleTransition(origin: Alignment.bottomRight)
// contracting iris:
const CircleTransition(invert: true)
Inheritance

Constructors

CircleTransition({Alignment origin = Alignment.center, double feather = 2.0, Duration duration = const Duration(milliseconds: 700), TransitionCover? cover, bool invert = false})
Creates a circular iris 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
feather → double
Edge softness of the iris ring, in logical pixels.
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
origin → Alignment
The point the iris emanates from. Alignment.center (default) is the screen center; Alignment.topLeft the top-left corner, etc.
final
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