scrollable_list_tab_scroller
3.1.1, released a year ago by railson.dev
Synchronizes a scrollable list of grouped items with corresponding navigation tabs.
What it does
Provides a customizable Flutter widget that synchronizes a scrollable list with tabs. The tabs automatically follow the active scroll index and clicking a tab scrolls the list to the relevant group.
AI-written summary of version 3.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a settings page or catalog where scrolling updates a category tab bar
- You want tab selection to automatically scroll a grouped list to the correct section
Skip it when
- You need a standard non-scrolling tab bar interface
- You do not have grouped list items that map to distinct tabs
Strengths
- Two-way synchronization between tabs and list scroll position
- Supports custom builders for items, tabs, and headers
Weaknesses
- Limited documentation outside of basic README examples
- Relies on external packages for positioning logic
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
ScrollableListTabScroller(
itemCount: data.length,
tabBuilder: (BuildContext context, int index, bool active) => Text(data.keys.elementAt(index)),
itemBuilder: (BuildContext context, int index) => Text(data.values.elementAt(index).toString()),
)Alternatives
Packages that do the same job and could replace scrollable_list_tab_scroller.
- flutter_slidable
Flutter implementation of slidable list item with directional slide actions and dismissal.
97Compare - infinite_grouped_list
Dynamic scrolling list that efficiently groups items and loads more data as the user scrolls.
79Compare - country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - indexed_list_view
Infinite ListView that lets you programmatically jump instantly to any item by index.
82Compare
Works with
Packages commonly used together with scrollable_list_tab_scroller: ones it builds on, ones built on it, and its own family.