extended_tabs
5.0.0, released 2 years ago by fluttercandies.com
An extension library for Flutter Tabs, TabBar, and TabView with advanced scrolling support.
What it does
Provides extended versions of Flutter's Tab, TabBar, and TabBarView widgets. It supports scrolling ancestor or child tabs when overscrolling, setting custom scroll directions, defining cache extents, and rendering custom tab indicators like carousel and color fill styles.
AI-written summary of version 5.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need nested or linked tab views that scroll together during overscroll.
- You want to configure vertical tab bars and tab views.
- You need page caching or custom tab indicator styles like carousel indicators.
Skip it when
- Standard Flutter TabBar and TabBarView fully meet your application's requirements.
- You do not use tabs in your UI design.
Strengths
- Supports linked scrolling between ancestor and child tabs.
- Allows setting custom scroll direction and page cache extent.
- Includes built-in custom indicators like CarouselIndicator and ColorTabIndicator.
Weaknesses
- Relies on extensions of standard Flutter components which might require adjustments on Flutter SDK upgrades.
- Documentation outside of README examples is minimal.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
ExtendedTabBarView(
children: <Widget>[
List("Tab000"),
List("Tab001"),
],
controller: tabController2,
link: true,
cacheExtent: 1,
)Alternatives
Packages that do the same job and could replace extended_tabs.
- carousel_slider
Carousel slider widget with infinite scroll, auto play, and custom child support
73Compare - carousel_slider_plus
A customizable carousel slider widget with infinite scroll and autoplay support.
72Compare - scroll_to_index
Scroll to a specific child of any scrollable widget in Flutter.
50Compare - swipe_to_action
Widget to trigger callbacks on horizontal swipe gestures.
53Compare
Works with
Packages commonly used together with extended_tabs: ones it builds on, ones built on it, and its own family.
- extended_imageSame familyExtended image library with caching, placeholders, zoom/pan, slide-out, and crop editor.
- extended_image_librarySame familyImage handling library with extended features like caching, zoom, editor, and placeholder support.
- extended_text_librarySame familyProvides extended Text and TextField widgets with inline images, custom backgrounds, and advanced selection handling.
- extended_textSame familyAn extension of Flutter's official Text widget for special inline content and custom overflow.
- extended_nested_scroll_viewSame familyExtended nested scroll view to fix pinned header and inner scrollables sync issues.
- extended_text_fieldSame familyExtended text field to quickly build inline images, @mentions, custom backgrounds and selection tools.
- extended_sliverSame familyA powerful extension library of Sliver with custom headers and adapters.
- extended_listSame familyExtended list widgets with garbage collection, viewport tracking and trailing layout support.