Skip to main content

animated_segmented_tab_control 2.2.0 copy "animated_segmented_tab_control: ^2.2.0" to clipboard
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.dart to material_ui. Use TabController and DefaultTabController from package:material_ui/material_ui.dart with 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.labelBuilder to 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 after AnimationController.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.backgroundColor and SegmentedTabControl.backgroundGradient params replaced with barDecoration so you gain more customisation;
    • SegmentedTabControl.indicatorColor and SegmentedTabControl.indicatorGradient params replaced with indicatorDecoration;
    • SegmentedTabControl.radius param was deleted. Now you could set border radius separately for bar and indicator using decorations;
    • the default SegmentedTabControl.height is equal to kTextTabBarHeight now. 48.0.
  • Fix indicator drag behaviour

1.2.1 #

  • Enhancement: Add selectedTextStyle parameter

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

100
likes
160
points
3.85k
downloads

Documentation

API reference

Publisher

verified publisherlanars.com

Weekly Downloads

A customizable segmented control that can be used with a TabView.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

flutter, material_ui

More

Packages that depend on animated_segmented_tab_control