animated_segmented_tab_control 2.2.0
animated_segmented_tab_control: ^2.2.0 copied to clipboard
A customizable segmented control that can be used with a TabView.
2.2.0 #
- Enhancement: Migrate from
package:flutter/material.dartto material_ui. UseTabControllerandDefaultTabControllerfrompackage:material_ui/material_ui.dartwith the widget - Enhancement: Update the minimum supported versions to Flutter 3.44 and Dart 3.12, as required by
material_ui - Fix the dragged indicator moving faster or slower than the finger unless there are exactly three tabs of equal flex
- Fix static analysis issues reported by pub.dev
- Update the example to Gradle 9.3.1, Android Gradle Plugin 9.1.0 and Kotlin 2.4.0
2.1.0 #
- Enhancement: Add
SegmentTab.labelBuilderto display custom tab content, such as an icon (#32), based on the approach proposed by YoungmanCH with the color-passing idea from Thientran2910 - Enhancement: Add right-to-left layout support, based on the approach proposed by melek-hedhili
- Fix #39: Update indicator geometry when the widget width or tab count changes
- Fix #31:
AnimationController.stop()called afterAnimationController.dispose() - Fix tab-level color and gradient overrides being ignored when resolving bar and indicator decorations
- Fix duplicate semantics and unreachable ink wells in the label overlay
- Fix stale API references in documentation
2.0.1 #
- Fix indicator getting stuck after releasing a slow drag on the selected tab (Flutter >= 3.32.0)
2.0.0 #
- Breaking changes
SegmentedTabControl.backgroundColorandSegmentedTabControl.backgroundGradientparams replaced withbarDecorationso you gain more customisation;SegmentedTabControl.indicatorColorandSegmentedTabControl.indicatorGradientparams replaced withindicatorDecoration;SegmentedTabControl.radiusparam was deleted. Now you could set border radius separately forbarandindicatorusing decorations;- the default
SegmentedTabControl.heightis equal tokTextTabBarHeightnow. 48.0.
- Fix indicator drag behaviour
1.2.1 #
- Enhancement: Add
selectedTextStyleparameter
1.2.0 #
- Enhancement: Add possibility to set different sizes of tabs (
flex) - Fix indicator padding
1.1.0 #
- Enhancement: Add background and indicator gradient support by CodeEagle
- Bugfix #15 Indicator initial position
- Fix tab bar padding by phantoms158
1.0.1 #
- Minor fixes.
1.0.0 #
- Added documentation.
- Updated example with pub.dev rules.
- Initial stable release.
0.0.1 #
Initial release