enterAlwaysSearchBarScrollBehavior
Returns a SearchBarScrollBehavior. A search bar that is set up with this behavior will immediately scroll upward off-screen when the content is pulled up, and will immediately appear when the content is pulled down.
The returned SearchBarScrollBehavior is remembered across compositions.
Parameters
the initial value for SearchBarScrollBehavior.scrollOffset. Should be between initialOffsetLimit and 0.
the initial value for SearchBarScrollBehavior.scrollOffsetLimit, which represents the pixel limit that a search bar is allowed to scroll off-screen when the content is scrolled.
the initial value for SearchBarScrollBehavior.contentOffset.
a callback used to determine whether scroll events are to be handled by this SearchBarScrollBehavior.
an AnimationSpec that defines how the search bar's scroll offset snaps to either its limit or 0 when a fling or a drag scrolls it into an intermediate position.
a DecayAnimationSpec that defines how to fling the search bar when the user flings the search bar itself, or the content beneath it.
indicates that this behavior is applied to a scrollable content that has a reversed direction of scrolling and layout.