ExitAlwaysFloatingToolbarScrollBehavior
constructor(exitDirection: FloatingToolbarExitDirection, state: FloatingToolbarState, snapAnimationSpec: AnimationSpec<Float>, flingAnimationSpec: DecayAnimationSpec<Float>)
Parameters
exitDirection
indicates the direction towards which the floating toolbar exits the screen
state
snapAnimationSpec
an AnimationSpec that defines how the floating toolbar snaps to either fully collapsed or fully extended state when a fling or a drag scrolled it into an intermediate position
flingAnimationSpec
an DecayAnimationSpec that defines how to fling the floating toolbar when the user flings the toolbar itself, or the content below it