GlassNavPinnedState class
The chrome to render for the current frame.
progress is the top route's own entrance animation: 1 at rest, running 0 to 1 on a push and scrubbing 1 to 0 during a pop or back-swipe. The host renders a straight interpolation from from to to over it, which makes every case — push, pop, cancelled swipe, interrupted transition — fall out of one formula.
- Annotations
Constructors
-
Creates a description of the chrome for one frame.
const
Properties
- coverage → double
-
How much the top route is covered by an unregistered route, 0 to 1.
final
- crossFade → bool
-
Whether this frame belongs to GlassSwipeCommitTransition.crossFade.
final
- flowFrom → GlassNavBarRegistration
-
The chrome the forward choreography leaves, honouring popping.
no setter
- flowProgress → double
-
progress along the forward choreography — mirrored on a pop.
no setter
- flowTo → GlassNavBarRegistration
-
The chrome the forward choreography arrives at, honouring popping.
no setter
- from → GlassNavBarRegistration
-
Chrome of the route beneath the top one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- holdForSheet → void Function(GlassBarSheetItem item, GlassMorphAnchor anchor)?
-
Keeps a tapped sheet item's capsule hoisted through its presentation.
final
- popping → bool
-
Whether the transition is a pop — an animated pop, a back-swipe, or the
exit a committed swipe plays out.
final
- presenting → GlassBarSheetItem?
-
The GlassBarItem.sheet whose sheet is up out of the hoisted chrome, or
null.
final
- progress → double
-
The top route's entrance progress, 0 to 1.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settled → bool
-
Whether the chrome is at rest and may be tapped.
final
- to → GlassNavBarRegistration
-
Chrome of the topmost registered route.
final
- topRoute → ModalRoute
-
The topmost registered route, used for the default back action.
final
- transition → GlassEffectTransition
-
How clusters that appear or disappear outright transition.
final
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