awesome_floating_bottom_navigation 1.0.0
awesome_floating_bottom_navigation: ^1.0.0 copied to clipboard
A floating bottom navigation bar with configurable item layout (expand or center), splash and scale animations, gradients, blur and custom borders.
1.0.0 #
Fixes for defects that made parts of the package unusable, plus tests - the package had none.
Breaking #
IndexedWidgetBuilderrenamed toAwesomeTabBuilder. The old name is also declared bypackage:flutter/material.dart, so any file importing both got anambiguous_importerror and the.builderconstructor could not be used.SafeAreaValuesis now exported from the package entry point. It was part of the public API throughsafeAreaValues:but was never exported, so no caller could construct one.FlexibleOuterSpaceandCustomRoundedRectangleClipperare now private.onTapis typedValueChanged<int>instead ofFunction(int).
Fixed #
- The splash animation no longer leaks a ticker. A new
AnimationControllerwas created on everydidUpdateWidgetand none was ever disposed, so the bar threw "was disposed with an active Ticker" when it left the tree mid-animation. - The splash only replays when the selection actually changes. The guard on
activeIndexwas commented out, so any rebuild above the bar restarted it. - The default splash is purple, as documented. A null
splashColorreached the painter as null and was painted white - invisible on the default background. - The bar no longer requires a
Scaffoldancestor. It calledScaffold.geometryOf(context)for a value it never used. - The bar's subtree is no longer rebuilt from scratch on every build: the inner
CustomPaintcarried aUniqueKey(). - Both painters and the clipper now repaint and reclip only when their inputs change, instead of on every frame.
Other #
- Requires Dart 3.8 / Flutter 3.32;
flutter_lints6; no deprecated APIs left. - Each item is exposed to screen readers as a button with its selected state,
and the new
semanticLabelsgives those buttons a name. - The published archive no longer carries the 1.5 MB demo video.
- The example app no longer leaks an
AnimationController, and its test checks the bar instead of a counter that does not exist.
0.0.1 #
- Initial release.