All notable changes to this project will be documented in this file.
- Fix #17 Animate tab bar scroll position changes
- Fix #12 Scroll doesn't reset when switching the tabs while scrolled to top
- Fix the bottom padding on
MaterialTabsScroll
in iOS 18
- Automatically pad the bottom of
MaterialTabsScroll
when the content of a tab is too small to scroll to the fully collapsed header state.
- Add two new configuration options to
MaterialTabBar
that can be useful when implementing custom tab labels:fillAvailableSpace
: Applicable when tab labels don't inherently fill the width of the tab bar. Whentrue
(the default), the label widths are expanded proportionally to fill the tab bar. Whenfalse
, the labels are not expanded and centered horizontally within the tab bar.spacing
: The amount of horizontal spacing to use between tab labels. Primary and Secondary tabs should use the default spacing of 0 to form a continuous line across the bottom of the tab bar.
- Add a context argument to the
MaterialTabsScroll
andStickyHeaderScroll
view builders, providing useful metrics, such as the available safe height for content under the header.