liqui 0.2.1 copy "liqui: ^0.2.1" to clipboard
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 #

  • position parameter to showLiquiPopover() and showLiquiMenu() for manually overriding popover anchor position
  • Screen corner radius caching to prevent repeated plugin calls

Fixed #

  • Screen corner radius MissingPluginImplementation exception (#1)
  • Bottom sheet border radius now properly handles edge cases with screen corner radius

Changed #

  • Removed sourceContext parameter from showLiquiPopover() and showLiquiMenu() - now uses context directly
  • LiquiMenuButton simplified to remove unnecessary Builder wrapper
  • 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 LiquiCircleButtonGroup for better performance
    • Changed Container to DecoratedBox for optimized rendering
    • Added mainAxisSize: .min to Row for improved layout behavior

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 animations
  • showLiquiPopover() - Context popovers anchored to source widgets
  • showLiquiMenu() - Interactive menu with selectable items
  • LiquiMenuButton - Button widget that opens menu on tap
  • LiquiCircleButton - Circular button with liquid scale animation
  • LiquiCircleButtonGroup - Group of circular buttons
  • LiquiCloseButton - Pre-configured close button
  • LiquiScaleTap - Wrapper widget for liquid scale animations
  • LiquiMenuItem - 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
  • CustomBottomSheetController for 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