bottomAppBarScrollBehavior
fun bottomAppBarScrollBehavior(state: BottomAppBarState = rememberBottomAppBarState(initialContentOffset = Float.POSITIVE_INFINITY), canScroll: () -> Boolean = { true }, snapAnimationSpec: AnimationSpec<Float>? = null, flingAnimationSpec: DecayAnimationSpec<Float>? = null): SparkBottomAppBarScrollBehavior
Creates a SparkBottomAppBarScrollBehavior for BottomAppBar. This scroll behavior is designed to work in conjunction with scrolled content to change the bottom app bar appearance as the content scrolls. The bottom app bar will show elevation when BottomAppBarState.contentOffset 0, indicating there's content above the current scroll position to scroll back to.
This implementation uses only the standard Material3 BottomAppBarScrollBehavior interface and BottomAppBarState properties, with an additional overlappedFraction property for more nuanced color transitions.