fab_circular_menu 0.1.5 copy "fab_circular_menu: ^0.1.5" to clipboard
fab_circular_menu: ^0.1.5 copied to clipboard

discontinued
outdated

A Flutter package to create a nice circular menu using a Floating Action Button.

FAB Circular Menu #

Pub Pull Requests are welcome Pull Requests are welcome Codemagic build status

A Flutter package to create a nice circular menu using a Floating Action Button.

Inspired by Mayur Kshirsagar's great FAB Microinteraction design.

Showcase

Getting started #

Wrap your content with FabCircularMenu and set your desired options:

MaterialApp(
  home: Scaffold(
    body: FabCircularMenu(
      child: Placeholder(), // Replace this with your content
      options: <Widget>[
        IconButton(icon: Icon(Icons.home), onPressed: () {
          print('Pressed!');
        })
      ]
    )
  )
)

Options #

Property Type Description Default Caveat
child Widget The child of this widget -
options List The available options of the menu -
ringColor Color The color of the ring Colors.white
ringDiameter double The diameter of the ring screenWidth * 1.2
ringWidth double The width of the ring ringDiameter / 3
fabMargin EdgeInsets The margin around the FAB EdgeInsets.all(24.0)
fabColor Color The color of the FAB primaryColor
fabOpenColor Color The color of the FAB when opened primaryColor Will override fabColor for open state
fabCloseColor Color The color of the FAB when closed primaryColor Will override fabColor for close state
fabOpenIcon Icon The open icon Icon(Icons.menu)
fabCloseIcon Icon The close icon Icon(Icons.close)
animationDuration Duration The animation duration Duration(milliseconds: 800)
onDisplayChange Function A callback called when the open/close state changes Function
controller FabCircularMenuController A controller for opening or closing the menu null
542
likes
40
pub points
94%
popularity

Publisher

verified publishermarianocordoba.dev

A Flutter package to create a nice circular menu using a Floating Action Button.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, vector_math

More

Packages that depend on fab_circular_menu