Skip to content
pubscout

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.

WASM-ready
$ flutter pub add hawk_fab_menu
Source repository

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.