flutter_context_menu 0.2.2 copy "flutter_context_menu: ^0.2.2" to clipboard
flutter_context_menu: ^0.2.2 copied to clipboard

Create and display a customizable context menus in your app.

0.2.2 #

  • Update README.md.
  • Update default shortcuts.
  • Add generic types to base classes and widgets (closes #3).
  • Updated ContextMenuRegion for simplified gesture handling. (closes #4)
  • Updated ContextMenuRegion to be more customizable with builder. (closes #6)
  • Fix menu to not auto focus on first item. (closes #11).
  • Fix focus bugs.

0.2.1 #

  • Add color variable to the context menu item, allowing the item text and icon colors to be customized.
  • Add enabled variable to the context menu item, allowing the item to be disabled if needed.
  • Add maybeOf(BuildContext) to the context menu state.
  • Move calculateSubmenuPosition to the utils file (lib/src/core/utils.dart).
  • Some UI changes in the example project.

0.2.0 #

  • Removed provider and equatable dependencies as they are no longer needed.
  • Updated the package's dependencies to the latest versions.
  • Removed unnecessary platform specific folders.
  • The package is now fully dependent on InheritedWidget for state management.
  • Replaced the old Overlay widget with the new OverlayPortal widget.
  • Globally applied focus node highlighting and keyboard shortcuts for menu items.
  • Added shortcuts property in the ContextMenu class for custom context menu shortcuts.

0.1.3 #

  • updated example project.
  • added ContextMenuRegion widget to show a context menu when a user right-clicks or long-presses on a widget.
  • improvements and fixes.
  • updated README.md.

0.1.2 #

  • added example project.
  • added a preview gif to "README" file.
  • added DefaultContextMenuDivider in components.
  • added DefaultContextMenuItem in components.
  • added DefaultContextMenuTextHeader in components.
  • improvements and fixes.
73
likes
160
points
3.73k
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

2024.09.21 - 2025.04.05

Create and display a customizable context menus in your app.

Repository (GitHub)
View/report issues

Topics

#context-menu #options-menu #command #menu #editor

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_context_menu