smart_tab_view 1.0.2
smart_tab_view: ^1.0.2 copied to clipboard
A scroll-aware tab view widget with customizable tab layout and scroll sync.
SmartTabView #
A scroll-aware tab view widget that syncs tab selection based on scroll and supports both horizontal and vertical tab layouts.
✨ Features #
- Auto-selects tab while scrolling through sections
- Supports both
horizontalandverticaltab layouts - Custom widgets for both tabs and sections
- Lightweight and easy to integrate
🚀 Usage #
SmartTabView(
tabPosition: TabPosition.top, // or TabPosition.left
tabs: const [
Tab(text: "Overview"),
Tab(text: "Benefits"),
Tab(text: "Process"),
Tab(text: "Requirement"),
],
sections: const [
MySection(title: 'Overview'),
MySection(title: 'Benefits'),
MySection(title: 'Process'),
MySection(title: 'Requirement'),
],
)