androidx.compose.material3
rememberBottomAppBarStateExperimental
Function
No hand-written docs yet.
Creates a BottomAppBarState that is remembered across compositions.
ParametersExperimental
@Composable
fun rememberBottomAppBarState(
initialHeightOffsetLimit: Float = -Float.MAX_VALUE,
initialHeightOffset: Float = 0f,
initialContentOffset: Float = 0f,
): BottomAppBarState
initialHeightOffsetLimit: FloatOptional
initialHeightOffsetLimit: FloatOptionalDefault: -Float.MAX_VALUE
the initial value for BottomAppBarState.heightOffsetLimit, which represents the pixel limit that a bottom app bar is allowed to collapse when the scrollable content is scrolled
initialHeightOffset: FloatOptional
initialHeightOffset: FloatOptionalDefault: 0f
the initial value for BottomAppBarState.heightOffset. The initial offset height offset should be between zero and initialHeightOffsetLimit.
initialContentOffset: FloatOptional
initialContentOffset: FloatOptionalDefault: 0f
the initial value for BottomAppBarState.contentOffset
Library docs
Creates a BottomAppBarState that is remembered across compositions.