fluid_side_menu 1.1.0
fluid_side_menu: ^1.1.0 copied to clipboard
A premium, highly-customizable fluid side navigation menu with organic liquid-reveal transitions, staggered option entrance animations, and rich select feedback behaviors.
1.1.0 #
- Add swipe gestures to open and close the drawer: pull from the left edge (controlled by
edgeDragWidth) to open, swipe left anywhere when fully open to close. - Add velocity-sensitive drag finishing — fast flings snap the drawer in the fling direction.
- Add
enableSwipeGesturesparameter (defaulttrue) andedgeDragWidthparameter (default30.0). - Add
animationCurveparameter toFluidSideMenuandFluidMenuPainterfor custom easing of the fluid wave transition (defaultCurves.easeInOutCubic). - Add
revealOriginparameter (Offset?) to set a custom origin point for the gooey wave reveal. - Add
enableHapticFeedbackparameter (defaulttrue): firesHapticFeedback.lightImpacton open/close andHapticFeedback.selectionClickon item selection. Haptics are de-duplicated — a single pulse fires at drag-start so no double haptic occurs on snap-to-open/close. - Add
itemAlignmentparameter accepting the newFluidMenuItemAlignmentenum (left,center,right) to align all menu items within the drawer. - Add
subMenuItemTextStyleandsubMenuItemIconSizeparameters for a widget-level style applied to all nested child items. - Add
onSubItemTappedcallback triggered with the parent and child index when a nested item is selected. - Update
FluidMenuItem: makepageoptional, addsubItems(List<FluidMenuItem>?) for collapsible dropdown groups of arbitrary depth, addonTapcustom callback, addtextStyleandiconSizeper-item size overrides. - Add
enableScrollparameter (defaulttrue): wraps the item column in aSingleChildScrollViewso long lists remain reachable on small screens. - Add
scrollPhysics(ScrollPhysics?) andscrollController(ScrollController?) parameters for custom scroll behavior and programmatic control. - Add
scaleChildItemsBasedOnDepthparameter (defaulttrue): controls whether font and icon sizes are automatically reduced per nesting level. - Add
menuItemPadding(EdgeInsets?) andsubMenuItemPadding(EdgeInsets?) to override default spacing around top-level and nested items respectively. - Implement recursive
buildMenuItemNoderenderer withAnimatedSizeexpand/collapse transitions andAnimatedRotationchevron indicators for dropdown groups. - Implement path-based active item and tap-feedback tracking (
List<int>) supporting arbitrary nesting depth. - Size resolution priority (highest to lowest): per-item
FluidMenuItem.textStyle/iconSize> widget-levelsubMenuItemTextStyle/subMenuItemIconSize> automatic depth scaling.
1.0.0 #
- Initial release of
fluid_side_menu. - Implement organic fluid gooey liquid-reveal background transitions driven by distance-staggered custom vector splines.
- Support customizable staggered option entrance animations (
fade,scale,slide). - Support customizable tap selection feedback animations (
scalePulse,slideRight,scaleDownOthers,fadeOthers,none,iconSlideSwap). - Add item-level and global color settings (
textColor,iconColor,menuItemTextColor,menuItemIconColor). - Add optional
menuHeaderandmenuFooterwidget slots. - Optimize rendering performance using isolated
RepaintBoundarylayers. - Expose
FluidSideMenu.of(context)static accessor andopen(),close(),toggle()programmatic controls onFluidSideMenuState.