Skip to main content

smart_context_menu 1.0.2 copy "smart_context_menu: ^1.0.2" to clipboard
smart_context_menu: ^1.0.2 copied to clipboard

A powerful, customizable iOS-style context menu: smart positioning, fluid animations, drag-to-select, rich submenus (async, paginated) and widgets above the preview (e.g. a reactions bar)

1.0.2 #

  • Improved the example app with hints for opening menus, tap-to-open files, and visible feedback for demo actions and chat reactions.
  • Refreshed the pub.dev screenshots and package description to show the light and dark themes, drag-to-select, and a reactions bar above a chat message.
  • Raised the example app's minimum deployment targets to iOS 15 and macOS 12.

1.0.1 #

  • The default menu width is now 250 instead of 280, matching the iOS context menu on iPhone. Set menuWidth: 280 to keep the previous width.
  • The web demo now shows Russian instructions and a Russian loading screen with ?lang=ru.
  • Improved the READMEs and API documentation, and added a minimal pub.dev example.
  • In RTL, submenus now enter from the left, swipe back moves left, and the default navigation chevrons point in the matching direction. The example app has an RTL layout switch.

1.0.0 #

  • Initial release: an iOS-style context menu for Flutter.
  • Opening: a lifted preview above a blurred background, drag-to-select, opening and closing from code with SmartContextMenuController, and support for your own Hero widgets.
  • Positioning: the widget stays in place and moves only as far as needed; long menus scroll inside, and tall widgets scroll together with the menu.
  • Motion: a liquid stretch under the finger, smooth changes of height, a preview that glides up to make room and a swipe back that follows the finger.
  • Items: actions, separators, dividers and custom content; static, async and paginated submenus; async and listenable items; loading, error and empty states with retry.
  • Header slivers above the widget, such as a reactions bar.
  • Appearance: light and dark themes, SmartContextMenuTheme for the whole app, SmartContextMenuStyle for colors, text, icons, blur and shadows, and SmartContextMenuLabels for the strings.
11
likes
150
points
218
downloads
screenshot

Documentation

API reference

Publisher

verified publisherthenothingworks.dev

Weekly Downloads

A powerful, customizable iOS-style context menu: smart positioning, fluid animations, drag-to-select, rich submenus (async, paginated) and widgets above the preview (e.g. a reactions bar)

Repository (GitHub)
View/report issues

Topics

#context-menu #menu #popup #overlay #chat-context-menu

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on smart_context_menu