GlassNavPinnedState constructor
const
GlassNavPinnedState({
- required GlassNavBarRegistration from,
- required GlassNavBarRegistration to,
- required double progress,
- required double coverage,
- required bool settled,
- bool popping = false,
- required ModalRoute topRoute,
- GlassEffectTransition transition = GlassEffectTransition.materialize,
- bool crossFade = false,
- GlassBarSheetItem? presenting,
- void holdForSheet(
- GlassBarSheetItem item,
- GlassMorphAnchor anchor
Creates a description of the chrome for one frame.
Implementation
const GlassNavPinnedState({
required this.from,
required this.to,
required this.progress,
required this.coverage,
required this.settled,
this.popping = false,
required this.topRoute,
this.transition = GlassEffectTransition.materialize,
this.crossFade = false,
this.presenting,
this.holdForSheet,
});