vertical_scroll_tabbar 0.0.5+1 copy "vertical_scroll_tabbar: ^0.0.5+1" to clipboard
vertical_scroll_tabbar: ^0.0.5+1 copied to clipboard

A vertical scroll tab bar, which provides automated tab bar index changing when content is scrolled.

Features #

Vertical scroll view with tabbar.
Automatically change tabbar index when scroll view is scrolled.
And also, when tap tabbar item, scroll view will be scrolled to the top of the tabbar index.

Simulator Screen Recording - iPhone 14 Pro - 2023-08-05 at 20 41 41

Usage #

VerticalScrollTabbar(
    tabs: [...],
    children: [...],
);

Parameters #

Parameter Type Description Required Default
tabs List Tabbar items false
children List Scroll view items false
isScrollable bool Whether the tab bar is scrollable. false false
indicatorColor Color The color of selected tab's underline. false
onTabChanged Function(int index) Called when tab index is changed false
width double? Width of the entire tabbar false null
height double? Height of the entire tabbar false null

Requirements #

  • tabs and children must have same length.
  • children must have GlobalKey as key Property
13
likes
150
pub points
71%
popularity

Publisher

unverified uploader

A vertical scroll tab bar, which provides automated tab bar index changing when content is scrolled.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on vertical_scroll_tabbar