Skip to content
pubscout

dynamic_tabbar

1.0.9, released 2 years ago by an unverified publisher

Flutter package to handle dynamic TabBar and TabBarView easily.

WASM-ready
$ flutter pub add dynamic_tabbar
Source repository

What it does

Provides a DynamicTabBarWidget that automatically updates its tabs and tab bar views as items are added or removed from a list. It supports customization options like scrollable tabs, custom icons, leading/trailing widgets, and callbacks.

AI-written summary of version 1.0.9, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to add or remove tabs dynamically at runtime in your Flutter application.
  • You want a widget that automatically handles tab updates and tab controller state changes.

Skip it when

  • Your app uses a fixed set of tabs that never change during the application lifecycle.

Strengths

  • Supports dynamic adding and removing of tabs easily.
  • Provides extensive customization for TabBar and TabBarView properties.
  • Includes features like web scroll behavior, custom back/next icons, and navigation position controls.

Weaknesses

  • Limited to tab-based navigation patterns.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
DynamicTabBarWidget(
    dynamicTabs: tabs,
    isScrollable: isScrollable,
    onTabControllerUpdated: (controller) {},
    onTabChanged: (index) {},
    onAddTabMoveTo: MoveToTab.last,
)

Alternatives

Packages that do the same job and could replace dynamic_tabbar.