context_menu_android 1.0.4 copy "context_menu_android: ^1.0.4" to clipboard
context_menu_android: ^1.0.4 copied to clipboard

A Flutter package that brings iOS-style context menu to Android.

Changelog #

1.0.4 - 2025-07-22 #

๐Ÿ†• Features #

๐Ÿ” SubMenu Support

  • โœ… Added support for nested subMenu items in context menu.
  • ๐Ÿ“ฑ Submenus open with iOS-style sliding animation.
  • ๐Ÿ”™ Includes automatic "Back" button and navigation stack handling.
  • ๐ŸŽฏ Fully animated using AnimatedSwitcher with slide transitions.
  • ๐Ÿ“ฆ Seamless integration with existing ContextMenuAndroid actions.

1.0.3 - 2025-07-18 #

๐ŸŽฏ Enhancements #

๐Ÿ“ Responsive Sizing Added

  • โœ… New textSize and iconSize properties allow for per-device scaling.
  • โœ… Sizes are automatically adjusted using getResponsiveSize() to match screen width for consistent appearance across devices.

๐Ÿง  Smarter Style Composition

  • โœจ Introduced getTextStyle() helper to merge user-defined textStyle with fallback logic and responsive sizing.
  • โœจ Introduced getIconColor() for consistent icon coloring logic (including automatic detection of delete actions).

๐Ÿงพ Internal Improvements

  • ๐Ÿ’ฌ Added inline documentation and bilingual comments (Arabic + English) for better clarity and future maintenance.
  • ๐Ÿ“ฆ Padding is now responsive by default using getResponsiveSize() (e.g., horizontal padding 16 โ†’ getResponsiveSize(16)).

1.0.2 - 2025-07-17 #

โœ… Fixes & Improvements #

  • ๐Ÿงผ API Refactor: iOSStyleContextMenu is now a stateless functional widget for cleaner syntax.
  • ๐Ÿ” Smooth Transitions: Replaced StatefulWidget with AnimatedScale for animation.
  • โš™๏ธ Action Builder Optimization: Utilized List.generate() to streamline context menu actions.
  • ๐ŸŽจ Customization Enhancements:
    • backgroundColor
    • dividerColor
    • iconColor
    • textStyle
    • contentPadding
  • ๐Ÿ—‘ Smart Delete Detection: Automatically highlights delete actions with red, bold text.
  • ๐Ÿงช Testing: Added unit tests using flutter_test.
  • ๐Ÿ“š Documentation: Improved inline comments and updated the example app to reflect new features.

1.0.1 - 2025-07-17 #

๐ŸŽ‰ Initial release of ContextMenuAndroid โ€” an iOS-style context menu for Android built using Flutter.

โœจ Features #

  • iOS-style blurred context menu.
  • Customizable actions with icons, labels, and colors.
  • Smart delete detection.
  • Dark mode support.
  • Smooth and responsive UI animations.
  • Easily embeddable in any widget.

๐Ÿ›  Technical Improvements #

  • โœ… Enabled full null safety.
  • โœ… Optimized with const constructors for performance.
  • โœ… Enforced strong linter rules via analysis_options.yaml.
  • โœ… Refactored code for readability and reusability.
  • โœ… Included preview image hosted on GitHub for pub.dev display.

0.0.1 - 2025-07-16 #

  • ๐Ÿงช First draft release of ContextMenuAndroid package.
  • ๐ŸŽจ Basic iOS-style blurred context menu implementation.
  • ๐Ÿงฉ Supports customizable icons, labels, and actions.
  • ๐ŸŽฌ Initial animation, shadow, and structure setup.
8
likes
0
points
283
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that brings iOS-style context menu to Android.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on context_menu_android