🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

SearchBarScrollBehavior

A SearchBarScrollBehavior defines how a search bar should behave when the content beneath it is scrolled.

Source set: Common
public interface SearchBarScrollBehavior

A SearchBarScrollBehavior defines how a search bar should behave when the content beneath it is scrolled.

Properties

scrollState

Source set: Common
public val scrollState: SearchBarScrollState

A SearchBarScrollState that is attached to this behavior and is read and updated when scrolling happens.

nestedScrollConnection

Source set: Common
public val nestedScrollConnection: NestedScrollConnection

A NestedScrollConnection that should be attached to a androidx.compose.ui.input.nestedscroll.nestedScroll in order to keep track of scroll events.

searchBarScrollBehaviorModifier

Source set: Common
public val searchBarScrollBehaviorModifier: Modifier

The modifier that adds scrolling behavior to the search bar component. AppBarWithSearch applies this automatically.

Content updated: