animated_segmented_tab_control
2.2.0, released 3 weeks ago by lanars.com
A customizable segmented tab control widget with smooth animations.
What it does
Provides a segment tab control widget that can be paired with a TabController or DefaultTabController. It features custom styling for tabs, indicators, and backgrounds, along with smooth selection animations.
AI-written summary of version 2.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a segmented control UI component integrated with a TabController.
- You want custom animations and decorations for selected and unselected tabs.
Skip it when
- Your application relies on standard package:flutter/material.dart controllers without using material_ui in version 2.2.0+.
- You require interactive children elements inside individual tab labels.
Strengths
- Highly customizable decorations for bars and indicators.
- Supports custom label builders and right-to-left layouts.
Weaknesses
- Requires material_ui package instead of standard material.dart starting from version 2.2.0.
- Interactive children inside tab labels are not supported.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires using TabController or DefaultTabController from package:material_ui/material_ui.dart in version 2.2.0+.
DefaultTabController(
length: 2,
child: SegmentedTabControl(
tabs: [
SegmentTab(label: 'Home'),
SegmentTab(label: 'Account'),
],
),
)Alternatives
Packages that do the same job and could replace animated_segmented_tab_control.
- marqueer
A customizable Flutter marquee widget for smooth multi-direction scrolling content.
81Compare - fancy_password_field
A customizable password input widget with validation rules and strength indicator.
76Compare - expansion_tile_list
A customizable set of expansion tiles with styling, animations, and expansion control options.
62Compare - custom_interactive_viewer
Customizable alternative to InteractiveViewer with gesture, rotation, and keyboard controls
62Compare
Works with
Packages commonly used together with animated_segmented_tab_control: ones it builds on, ones built on it, and its own family.