TabBarScrollBehavior

Lets a TabBar hide as content scrolls down and come back as it scrolls up, like Material's TopAppBarScrollBehavior for a bottom bar. Attach nestedScrollConnection to the scrolling content with Modifier.nestedScroll and pass this to the bar. Create it with rememberTabBarScrollBehavior.

Properties

Link copied to clipboard

0f when the bar is fully shown, 1f when fully hidden.

Link copied to clipboard

How far the bar is pushed down, in pixels: 0f fully shown, heightOffsetLimit hidden.

Link copied to clipboard

The bar's measured height, negated; kept up to date by TabBar.

Link copied to clipboard

Attach to the scrolling content that drives the bar.