flutter_toggle_tab 2.0.0 copy "flutter_toggle_tab: ^2.0.0" to clipboard
flutter_toggle_tab: ^2.0.0 copied to clipboard

Library to create Beautiful and Customized Toggle Tab Widget on Flutter

2.0.0 #

  • Require Flutter 3.47.x and Dart 3.13.
  • Migrate Material widgets to the standalone material_ui package.
  • Update the example Android and iOS projects to Flutter 3.47 platform baselines.
  • Make tab selection controlled without mutating caller-owned DataTab values.
  • Handle constrained layouts, long labels, and empty gradient color lists.
  • Use an explicit DataTab constructor compatible with Dart 3.13 analysis.
  • Add widget tests for every example usage.
  • Complete dartdoc coverage and remove unintended internal widgets and styles from the public API.
  • Rewrite the README for the controlled 2.0 API and Flutter 3.47 requirements.
  • Animate the selected-tab indicator and expose configurable duration and curve options.
  • Add opt-in adaptive tab and background widths based on each tab's content.
  • Center adaptive tabs by default and support configurable adaptive alignment.
  • Separate adaptive and equal-width layout components for maintainability.
  • Scope selection and adaptive-geometry updates with ValueListenable APIs.
  • Refresh every README usage section with a dedicated animated demo and reproducible Maestro flow.

1.5.1 #

  • Add new parameters isInnerShadowEnable and isShadowEnable to enable or turn off the shadow (#18) Thanks to @ysak-y

1.5.0 #

  • Breaking change: remove labels and icons replaced with dataTabs
  • support custom counter-widget to fix #16
  • update example project to support AGP >= 8
  • improve widget usage and fix warning from linter

1.4.1 #

  • Update docs

1.4.0 #

  • Add support dart 3
  • Set text style is not required, use TextTheme.of(context).bodyMedium as default style
  • Improve performance, use valueNotifier to update selected index instead of setState

1.3.0 #

  • Expose iconSize
  • Fix: Invisible a right margin in the button tab if only the icon is set. thanks to @kaedeee

1.2.0 #

  • Update kotlin version on Example
  • Reformat library
  • Update README file

1.1.7 #

  • Remove initialIndex replace with selectedIndex
  • Set selectedIndex required
  • Fix issue double when tap button
  • Fix issue update selectedIndex value, selected button not updated

1.1.6 #

  • Update selected if selectedIndex changed

1.1.5 #

  • Disable shadow support

1.1.4 #

  • Fix duplicate button

1.1.3 #

  • Fix margin issue on last item

1.1.2 #

  • Fix issue null safety when icons is null

1.1.1 #

  • Remove print statement

1.1.0 #

  • Support margin for selected tab

1.0.0 #

  • Migrate to Null Safety

0.0.6+5 #

  • Remove log on builder

0.0.5+4 #

  • Update Documentation

0.0.4+3 #

  • Add support disable Horizontal Scroll
  • Update deprecated Widget

0.0.3+2 #

  • Fix missing formatting code

0.0.3+1 #

  • Fix formatting issue

0.0.3 #

  • Change initialLabelIndex to initialIndex
  • Support change selected index programmatically

0.0.2+1 #

  • Fix build issue

0.0.2 #

  • Support Gradient for Selected and Unselected Background Color

0.0.1+2 #

  • Update a missed in readme

0.0.1 #

  • Initial Release
121
likes
160
points
6.27k
downloads

Documentation

API reference

Publisher

verified publisherlazycatlabs.com

Weekly Downloads

Library to create Beautiful and Customized Toggle Tab Widget on Flutter

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, material_ui

More

Packages that depend on flutter_toggle_tab