Search packages, repositories and app categories

custom_pop_up_menu cover
Package detailsv1.2.4

custom_pop_up_menu

Wrap a widget with CustomPopupMenu, Tap or Long Press this widget, a popup menu would display in a suitable position.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
19.9K
Likes
332
Pub points
120

Install package

flutter pub add custom_pop_up_menu

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

CustomPopupMenu is a Flutter package that enables developers to wrap any widget with a customizable popup menu. When the wrapped widget is tapped or long-pressed, a context-sensitive menu appears in an appropriate position relative to the widget. It supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it ideal for consistent UI interactions across devices. The package offers flexibility in styling and positioning, allowing integration into various app layouts without requiring complex custom implementations.

Use cases

  • Adding context menus to buttons
  • Creating interactive list item actions
  • Enhancing user interface with touch-triggered popups
  • Supporting multi-platform app designs
  • Implementing quick action panels

Key features

  • Tap or long-press trigger
  • Automatic positioning based on screen bounds
  • Cross-platform compatibility
  • Customizable menu appearance
  • Simple widget wrapping API

Suitable for

  • Developers building interactive UIs
  • Apps needing contextual actions
  • Multi-platform Flutter projects
  • UI components requiring lightweight menus
  • Designers seeking easy popup integration

Considerations

  • Requires manual handling of menu item callbacks
  • Limited built-in animation options
  • No built-in support for nested menus
  • Best suited for simple, flat menus
  • May need additional styling for complex themes

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

CustomPopupMenu

Wrap a widget with CustomPopupMenu, Tap or Long Press this widget, a popup menu would display in a suitable position.

Features

  • Gesture: Tap/Long Press
  • Fully customized menu: This package doesn't preset any style of menu, the common styles see: example/lib/main.dart.
  • Auto calculate the position of menu, also supports manual adjustment.

Demo

Using this package, you are free to build similar popup menu in WeChat.

Categories

Source repository

Projects using this package