miuixScrollBehavior function
Implementation
MiuixExitUntilCollapsedScrollBehavior miuixScrollBehavior({
MiuixTopAppBarState? state,
bool Function()? canScroll,
bool snapOnRelease = true,
Duration snapDuration = const Duration(milliseconds: 280),
Curve snapCurve = Curves.easeOutCubic,
bool lockSmallTitleUntilTop = false,
}) {
return MiuixExitUntilCollapsedScrollBehavior(
state: state,
canScroll: canScroll,
snapOnRelease: snapOnRelease,
snapDuration: snapDuration,
snapCurve: snapCurve,
lockSmallTitleUntilTop: lockSmallTitleUntilTop,
);
}