crystal_navigation_bar 2.0.0
crystal_navigation_bar: ^2.0.0 copied to clipboard
Sleek, crystal-clear blur bottom navigation bar with dynamic indicator for seamless app navigation.
Changelog #
2.0.0 #
Breaking changes #
- Required
onTap(ValueChanged<int>) — no longer optional (avoids null crash). - Removed unused
enablePaddingAnimation. - Icons are typed via
CrystalNavIcon/ constructors — no moredynamicicon fields. badgeis nowWidget?(any widget), not MaterialBadgeonly.- Default bar
heightis86; custom heights are honored (removed silent 105 floor). - Non-null defaults for
marginR,paddingR,borderRadius,height,backgroundColor. - Internal
Bodyis no longer exported.
Features #
- Configurable
blurSigma(applied in floating and non-floating modes). - Optional item
labeland barshowLabels. - Semantics on each item (button + selected state).
- Material 3 color fallbacks (
ColorScheme.primary). - Replaced deprecated
withOpacitywithwithValues.
Other #
- Restructured
lib/with a clean public barrel. - Real widget tests.
- Updated example and README (migration notes).
- SDK
^3.5.0, Flutter>=3.24.0. - Example uses Material icons (Iconly is incompatible with current Flutter
IconData).
1.1.0 #
- SVG icon support added - Use
CrystalNavigationBarItem.svg()constructor to use SVG assets as icons. - Added
flutter_svgdependency for SVG rendering support.
1.0.4 #
- Readme Docs Updated.
1.0.3 #
- borderWidth property added.
- badge property added.(to display notification count etc)
- Readme Docs Updated.
1.0.2 #
- Shadow not showing[Fixed].
- Readme Docs Updated.
1.0.1 #
- Bug Fixes
- Readme Docs Updated.
1.0.0 #
- Updated to Flutter 3.16
- BottomBar Height bug resolved.
- Added height parameter for Custom height of BottomNavigationBar
0.0.2 #
- Readme Docs Updated.
0.0.1 #
- initial release.