MiuixExitUntilCollapsedScrollBehavior constructor

MiuixExitUntilCollapsedScrollBehavior({
  1. MiuixTopAppBarState? state,
  2. bool canScroll()?,
  3. bool snapOnRelease = true,
  4. Duration snapDuration = const Duration(milliseconds: 280),
  5. Curve snapCurve = Curves.easeOutCubic,
  6. bool lockSmallTitleUntilTop = false,
})

Implementation

MiuixExitUntilCollapsedScrollBehavior({
  MiuixTopAppBarState? state,
  this.canScroll,
  this.snapOnRelease = true,
  this.snapDuration = const Duration(milliseconds: 280),
  this.snapCurve = Curves.easeOutCubic,
  this.lockSmallTitleUntilTop = false,
}) : state = state ?? MiuixTopAppBarState();