hawk_fab_menu
1.2.0, released 4 years ago by dart.nonstopio.com
A customizable floating action button menu that pops up small FABs on top.
What it does
Provides a floating action button widget that expands into a menu containing multiple smaller secondary floating action buttons when pressed. Allows customization of colors, icons, background blur, and can toggle the menu open state manually.
AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a quick floating menu attached to a floating action button in your app.
- You want to display multiple secondary actions cleanly from a single FAB.
Skip it when
- You need complex navigation drawers or bottom sheets instead of a FAB expansion.
- You require a non-Material UI paradigm.
Strengths
- Easy to customize colors, icons, and backgrounds.
- Supports toggling the menu open state manually.
- Includes built-in blur effect for the background.
Weaknesses
- Limited to a specific floating action button menu style.
- Not documented for advanced layouts beyond basic popups.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Not documented
HawkFabMenu(
icon: AnimatedIcons.menu_arrow,
fabColor: Colors.blue,
items: [
HawkFabMenuChild(
icon: Icons.person,
label: 'Profile',
onTap: () => print('Profile selected'),
),
],
body: Center(child: Text('Hello World')),
)Alternatives
Packages that do the same job and could replace hawk_fab_menu.
- menu_bar
A customizable application menu bar widget with submenus for Flutter desktop apps.
74Compare - flutter_expandable_fab
Speed dial floating action button widget that animates multiple action buttons.
82Compare - progress_state_button
A customizable progress button widget with multiple states for Flutter.
50Compare - fab_circular_menu_plus
A Flutter package to create a circular menu using a Floating Action Button.
53Compare