GlassNavPinnedState constructor

const GlassNavPinnedState({
  1. required GlassNavBarRegistration from,
  2. required GlassNavBarRegistration to,
  3. required double progress,
  4. required double coverage,
  5. required bool settled,
  6. bool popping = false,
  7. required ModalRoute topRoute,
  8. GlassEffectTransition transition = GlassEffectTransition.materialize,
  9. bool crossFade = false,
  10. GlassBarSheetItem? presenting,
  11. void holdForSheet(
    1. GlassBarSheetItem item,
    2. 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,
});