SearchBarState

constructor(initialValue: SearchBarValue, animationSpecForExpand: AnimationSpec<Float>, animationSpecForCollapse: AnimationSpec<Float>)

Construct a SearchBarState.

Parameters

initialValue

the initial value of whether the search bar is collapsed or expanded.

animationSpecForExpand

the animation spec used when the search bar expands.

animationSpecForCollapse

the animation spec used when the search bar collapses.