fl_radial_menu 0.1.0 copy "fl_radial_menu: ^0.1.0" to clipboard
fl_radial_menu: ^0.1.0 copied to clipboard

discontinued

A simple and easy to use radial menu widget for Flutter that supports fanout direction.

fl_radial_menu #

A simple and easy to use radial menu widget for Flutter that supports fanout direction.

screem ca[tire]

install #

dependencies:
  fl_radial_menu: <version>

Usage #

  • create a list of RadialMenuItem
  final items = [
    RadialMenuItem(Icon(FontAwesome.glass, color: Colors.white), Colors.red,
        () => print('red')),
    RadialMenuItem(Icon(FontAwesome.glass, color: Colors.white), Colors.green,
        () => print('green')),
    RadialMenuItem(Icon(FontAwesome.glass, color: Colors.white), Colors.blue,
        () => print('blue')),
  ];
  • Instantiate RadialMenu with the items and some parameters.
RadialMenu(mainItems)
  • RadialMenu supports some parameters like isClockwise, fanout.

  • Change the direction of the menu items

RadialMenu(mainItems, isClockwise: false)
  • Specify the direction to fanout the menu items.
// enum Fanout {
//   topLeft,
//   topRight,
//   bottomLeft,
//   bottomRight,
//   top,
//   bottom,
//   left,
//   right,
//   circle,
// }
RadialMenu(mainItems, fanout: fanout: Fanout.topLeft,)
3
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A simple and easy to use radial menu widget for Flutter that supports fanout direction.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on fl_radial_menu