context_menu_android 1.0.2
context_menu_android: ^1.0.2 copied to clipboard
A Flutter package that brings iOS-style context menu to Android.
Changelog #
1.0.2 - 2025-07-17 #
โ Fixes & Improvements #
- โ
Improved widget API:
iOSStyleContextMenuis now a stateless functional widget for cleaner syntax. - ๐งฑ Switched to
AnimatedScaleinstead ofStatefulWidgetfor smooth scaling transitions. - ๐ Optimized action builder using
List.generate()to reduce boilerplate. - ๐จ Customization options added:
backgroundColordividerColoriconColortextStylecontentPadding
- ๐ Smart delete detection: automatically highlights delete actions with red, bold text.
- ๐งช Test coverage: Added unit tests with
flutter_test. - ๐ Enhanced inline documentation and comments.
- ๐งฉ Updated example app to reflect new customization features and API usage.
1.0.1 - 2025-07-17 #
๐ Initial release of ContextMenuAndroid โ an iOS-style context menu for Android built using Flutter.
โจ Highlights #
- iOS-style context menu with blurred background.
- Customizable actions with support for icons, colors, and labels.
- Dark mode support.
- Delete actions are highlighted automatically.
- Responsive and smooth UI animations.
- Easily integratable with any widget.
๐ Improvements #
- Enabled full null safety.
- Optimized widget trees using
constconstructors for better performance. - Enhanced linter rules in
analysis_options.yamlto follow best practices. - Refactored code for readability and maintainability.
- Added example image hosted via GitHub for consistent preview on pub.dev.
0.0.1 - 2025-07-16 #
- ๐ Initial draft release of
ContextMenuAndroidpackage. - Added basic iOS-style blurred context menu.
- Supports customizable actions (icon, label, onTap).
- Initial design implementation with shadow and animation support.