frosty_float_navigation 1.0.2
frosty_float_navigation: ^1.0.2 copied to clipboard
A sleek frosted glass-style floating bottom navigation bar for Flutter apps.
Changelog #
1.0.2 - 2024-12-30 #
๐ ๏ธ Improvements & New Features #
-
Custom Styling Support:
-
Added support for custom styling with
FrostyFloatNavigationStyleto allow users to customize:navigationPadding(formerlyouterPadding)itemPadding(formerlyinnerPadding)borderRadiusselectedIconColorselectedContainerColorunselectedIconColorblurAmountcontainerOpacityborderOpacity
-
This feature enables more modular styling while preserving the default design.
-
-
Deprecated Method Replacement:
- Replaced the deprecated
withOpacity(...)method withwithValues(alpha: ...)for better performance and compatibility.
- Replaced the deprecated
๐ Documentation Update: #
- Updated the documentation to reflect new styling options and how to use
FrostyFloatNavigationStylefor customizations.
1.0.1 Enhancements and Validation #
๐ ๏ธ Improvements #
- Updated Alignment: Changed
mainAxisAlignmenttoMainAxisAlignment.spaceBetweenin the bottom navigation bar for consistent spacing between items.
๐จ Validation #
- Minimum Item Count Assertion: Added an assertion to ensure that the navigation bar requires at least 3 items to function properly.
๐งน Refactoring #
- Improved readability and maintainability of the
_buildMenuItemmethod. - Cleaned up unnecessary widget nesting.
๐ Bug Fixes #
- Addressed potential layout inconsistencies when fewer than 3 items were passed to the navigation bar.
Note: Ensure that the item list contains at least 3 items when using FrostyFloatNavigation.
1.0.0 Improvements and Refinements #
๐ ๏ธ Improvements #
- Removed SafeArea: The
SafeAreawidget was removed from the bottom navigation bar for a cleaner integration. - Simplified Menu Items: Text elements were removed from navigation items, focusing purely on icons for a more minimalist design.
- Improved Code Efficiency: Removed redundant code to streamline widget behavior and improve maintainability.
๐งน Refactoring #
- Updated
_buildMenuItemto focus on icon rendering without unnecessary nesting. - Optimized padding and decoration for better visual clarity.
๐ Bug Fixes #
- Fixed minor inconsistencies in navigation item rendering.
Note: Please update your dependencies and ensure compatibility with Flutter SDK >=3.0.0.
0.0.1 Initial Release #
๐ Features #
- Frosty floating bottom navigation bar with frosted glass design.
- Customizable navigation items with icons and screens.
- Supports dynamic item count with flexible configuration.
๐ ๏ธ Improvements #
- Optimized performance with memoized constants.
- Clean and modular widget design for easy customization.
๐ฆ Dependencies #
- Flutter SDK version ^3.6.0