liqui 0.2.1
liqui: ^0.2.1 copied to clipboard
iOS-styled liquid sheets and buttons
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.1 - 2025-12-03 #
Added #
positionparameter toshowLiquiPopover()andshowLiquiMenu()for manually overriding popover anchor position- Screen corner radius caching to prevent repeated plugin calls
Fixed #
- Screen corner radius
MissingPluginImplementationexception (#1) - Bottom sheet border radius now properly handles edge cases with screen corner radius
Changed #
- Removed
sourceContextparameter fromshowLiquiPopover()andshowLiquiMenu()- now usescontextdirectly LiquiMenuButtonsimplified to remove unnecessaryBuilderwrapper- Improved bottom sheet corner radius calculation
Removed #
- Legacy build artifacts and temporary files cleanup
0.2.0 - 2025-12-02 #
Added #
- Demo GIF asset showcasing package functionality
- Example app demonstrating all Liqui components and features
- README updated with demo visualization
Changed #
- Refactored
LiquiCircleButtonGroupfor better performance- Changed
ContainertoDecoratedBoxfor optimized rendering - Added
mainAxisSize: .minto Row for improved layout behavior
- Changed
Removed #
- Legacy custom bottom sheet implementation files (cleanup)
0.1.0 - 2024-12-02 #
Added #
- Initial release of Liqui
showLiquiSheet()- iOS-styled bottom sheets with spring animationsshowLiquiPopover()- Context popovers anchored to source widgetsshowLiquiMenu()- Interactive menu with selectable itemsLiquiMenuButton- Button widget that opens menu on tapLiquiCircleButton- Circular button with liquid scale animationLiquiCircleButtonGroup- Group of circular buttonsLiquiCloseButton- Pre-configured close buttonLiquiScaleTap- Wrapper widget for liquid scale animationsLiquiMenuItem- Data class for menu items- Spring physics animations using
elegant_spring_animation - Automatic screen corner radius detection using
screen_corner_radius - Adaptive layouts for mobile and tablet devices
- Drag-to-dismiss gesture support
- Interactive menu highlighting with haptic feedback
- Liquid stretch and translate effects on drag
- Popover auto-positioning (above/below source)
- Custom animation configuration through
BottomSheetConfig CustomBottomSheetControllerfor managing sheet lifecycle
Features #
- Natural, elastic spring animations
- iOS-style visual design
- Responsive behavior across screen sizes
- Smooth transitions and physics-based motion
- Interactive gesture controls
- Customizable colors, sizes, and behaviors
- Support for destructive and selected menu item states