star_menu
4.0.2, released 4 months ago by marcobavagnoli.com
Contextual popup menus with different shapes, animations, and custom widget entries.
What it does
Attaches a customizable popup menu to any widget, supporting linear, circle, and grid layouts. It allows fine-tuning of animations, positions, and boundary checks, with menu entries that can be almost any widget.
AI-written summary of version 4.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need contextual popup menus with custom shapes like circles or grids.
- You want flexible entry animations and positioning for popup options.
Skip it when
- You just need a standard Material popup menu without custom shapes or advanced animations.
Strengths
- Supports multiple layout shapes (linear, circle, grid)
- Highly customizable animations, durations, and boundaries
- Can build items lazily at runtime
Weaknesses
- API might be complex for very simple contextual menu use cases
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
none
StarMenu(
params: StarMenuParameters(),
items: entries,
child: FloatingActionButton(
onPressed: () {},
child: Icon(Icons.looks_one),
),
)Alternatives
Packages that do the same job and could replace star_menu.
- material_new_shapes
Provides Material 3 shape definitions (e.g., RoundedPolygon, Cubic) for Flutter UI.
48Compare - cherry_toast
Display custom elegant toast notifications with built-in animations and themes.
63Compare - popup_menu_plus
A Flutter Popup Menu Widget written completely in Dart supporting both iOS and Android.
56Compare - cupertino_context_menu_plus
Enhanced CupertinoContextMenu with custom top/bottom widgets, programmatic control, and styling options.
69Compare
Works with
Packages commonly used together with star_menu: ones it builds on, ones built on it, and its own family.