arrow_popup
1.0.1, released 3 weeks ago by mrrhak.com
A popup bubble with a pointing arrow for tooltips, popovers, menus and dropdowns.
What it does
Provides a single widget for creating popups, tooltips, popovers, menus, and dropdowns that point at any widget with an arrow. It handles automatic placement to stay on screen, follows scrolling/resizing anchors, and supports multiple triggers like tap, hover, and programmatic control.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display tooltips, context menus, popovers, or dropdowns tied to a specific anchor widget.
- You require automatic placement and collision detection so popups never go off-screen.
Skip it when
- You are building full standalone screens or dialogs that do not relate to an anchor widget.
- You need a dedicated state management or navigation solution.
Strengths
- Zero dependencies besides Flutter.
- Automatic placement ensures popups flip and stay within safe areas and out of the keyboard's way.
- Supports multiple triggers including tap, hover, long press, and controller-based opening.
Weaknesses
- Popups opening as routes do not inherit inherited widgets (like Providers or Blocs) placed between the navigator and the popup unless provided again.
- Requires Flutter 3.32 or newer.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
ArrowPopup(
content: const Padding(
padding: EdgeInsets.all(8),
child: Text('Saved to your library'),
),
child: const Icon(Icons.info_outline),
)Alternatives
Packages that do the same job and could replace arrow_popup.
- aligned_tooltip
A flexible tooltip widget that aligns to its target with automatic fallback positioning.
85Compare - popover
Displays a transient iOS-style popover view above other content pointing at a control.
89Compare - flutter_anchor
Core widgets for connecting floating overlays and tooltips to anchor widgets.
61Compare - loading_overlay
Shows a loading overlay that auto‑hides when async work completes.
85Compare