remember Top App Bar State
fun rememberTopAppBarState(initialHeightOffsetLimit: Float = -Float.MAX_VALUE, initialHeightOffset: Float = 0.0f, initialContentOffset: Float = 0.0f): TopAppBarState
Creates a TopAppBarState that is remembered across compositions.
Parameters
initial Height Offset Limit
the initial value for TopAppBarState.heightOffsetLimit, which represents the pixel limit that a top app bar is allowed to collapse when the scrollable content is scrolled
initial Height Offset
the initial value for TopAppBarState.heightOffset. The initial offset height offset should be between zero and initialHeightOffsetLimit.
initial Content Offset
the initial value for TopAppBarState.contentOffset