tab_container
Customisable tab view/carousel with animated indicator. Just pass in children and tabs, or use a TabController, change the tab side, add color(s), and more.
3.5.3
5.8K downloads/mo
#3628 most downloaded on pub.dev
sourcemain/tab_container
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 2.0 years
Nearly every release is documented
notes for 21 of 21 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
21 releases · first in 2021
0 releases in the last 12 months
see the full history below
Release timeline
21 releases · Dec 2021 to Apr 2024Releases
latest 21-
3.5.317 Apr 2024 -
3.5.215 Apr 2024 -
3.5.115 Apr 2024 -
3.5.015 Apr 2024Release notes
Open source →Add new TabContainerFocus widget for wrapping TabContainer with a basic focus implementation.
-
3.4.015 Apr 2024Release notes
Open source →Change sizing behaviour to wrap the child and add support for trackpad scrolling.
-
3.3.111 Apr 2024 -
3.3.011 Apr 2024Release notes
Open source →Update default semantics implementation and allow total customisation of semantics. See README.
-
3.2.009 Apr 2024Release notes
Open source →Features:
- Add implicit scrolling.
- Add 'onIncrease' and 'onDecrease' semantics configuration.
-
3.1.209 Apr 2024 -
3.1.105 Apr 2024 -
3.1.003 Apr 2024Release notes
Open source →Features:
- Tab bar automatically becomes scrollable if there are too many tabs. Suggestion: specify tabMinLength.
- Improved animation quality.
-
3.0.002 Apr 2024Release notes
Open source →BREAKING:
- TabContainer now extends StatefulWidget instead of ImplicitlyAnimatedWidget.
- Accepts native TabController instead of custom TabContainerController.
- Now hit tests widgets within the tabs so MouseRegion and Buttons will work inside tabs.
- No longer accepts a List<String> for tabs. Suggestion: replace raw strings with Text widgets.
- Allow different border radius for every corner. Suggestion: use properties borderRadius and tabBorderRadius instead of radius.
- Allow limiting the maximum length of each tab.
- Allow a single child to be supplied instead of children so TabContainer can serve as a switch if used with a manual TabController.
- Improved performance and changed some property names.
-
2.0.021 Apr 2022Release notes
Open source →BREAKING:
- Remove type checking of 'tabs' behind the scenes in favor of greater clarity: it is now on the developer to specify the type of 'tabs' using the new 'isStringTabs' parameter. Set it to 'false' if your 'tabs' value is a 'List<Widget>'; leave it as 'true' if 'tabs' is a 'List<String>'.
- Update example/lib/main.dart to reflect changes.
- Update pubspec.yaml.
- Update README.md.
-
1.2.216 Feb 2022 -
1.2.116 Feb 2022 -
1.2.007 Dec 2021Release notes
Open source →Add 'enableFeedback' property for acoustic and/or haptic feedback on tab gestures. Update REAMDE.md.
-
1.1.006 Dec 2021Release notes
Open source →Major improvements:
- Add 'tabStart' and 'tabEnd' properties. Specify where, along the side, tabs begin and end.
- Refactor child hit testing.
- Update README.md and example/lib/main.dart to reflect changes.
-
1.0.104 Dec 2021 -
1.0.0+204 Dec 2021 -
0.0.1+103 Dec 2021 -
0.0.1+203 Dec 2021