glass_menu 1.1.0
glass_menu: ^1.1.0 copied to clipboard
A customizable frosted glass (liquid glassmorphism) navigation bar for Flutter supporting wrap content, expandable animations, and custom positioning.
1.1.0 #
- Dynamic Width Sizing with
expandSpaceBetween:- Menu capsule now dynamically hugs 2 items on one side, smoothly expands to accommodate 3–5 items, and caps at available screen width for 9+ items with horizontal scrolling.
- Replaced rigid
SpacerwithMainAxisAlignment.spaceBetweenfor responsive flex distribution.
- Search Button Customization:
- Added
borderColor,borderWidth, andiconColorcustomization parameters toSearchGlassButton. GlassNavBarnow automatically synchronizes border color, border width, inactive icon color, and circular button diameter (height) with the menu styling.
- Added
- Anti-Overflow Safeguards:
- Added
FittedBoxscale-down safeguard on menu items to prevent verticalRenderFlexoverflow errors when using large icon and font sizes.
- Added
- Documentation & Gallery:
- Added high-resolution mobile dark mode screenshot preview.
1.0.2 #
- Featured mobile preview screenshot as the primary preview in pubspec and search cards.
- Displayed both mobile and desktop previews side-by-side in README documentation.
1.0.1 #
- Added
showSearchButtonto make the search action optional (defaults totrue). - Added
actionSpacingfor customizable space between the menu and search button. - Added
expandSpaceBetweento push menu and action button to opposite edges (left/right alignment). - Added
actionPosition(GlassActionPosition.trailingandGlassActionPosition.leading) for reversed alignment. - Updated repository links and added screenshots in pub.dev gallery and README.
1.0.0 #
- Initial release of
glass_menu. - Pure native Flutter implementation with zero external dependencies (
BackdropFilter, specular gradients, rim borders, elevation shadows). - Supports sizing modes:
wrapContent: Hugs menu items snugly without stretching across wide screens.expandable: Collapses into a compact frosted glass "Menu" pill and animates open on tap.fullWidth: Edge-to-edge docked navigation bar.
- Anti-overflow horizontal scrolling with touch, mouse, and trackpad drag support.
- Complete typography, color, active indicator, and icon customization via
GlassMenuStyle. - Preset screen anchors via
GlassMenuPosition(bottomCenter,topCenter,bottomLeft, etc.). - Standalone detached circular frosted glass action button (
SearchGlassButton). - Pre-built
GlassNavBarwidget for instant plug-and-play usage.
