flutter_fab_dialer 0.0.1 copy "flutter_fab_dialer: ^0.0.1" to clipboard
flutter_fab_dialer: ^0.0.1 copied to clipboard

outdatedDart 1 only

A new flutter package project.

Introduction #

This is a Widget build for having an alternative to default menus

alt text

Usage #

Create a list with your desired elements and customize each one #

 List<FabMiniMenuItem> fabMiniMenuItemList = new List();
    _fabMiniMenuItemList.add(new FabMiniMenuItem(
       onPressed: _incrementCounter,
      textColor: Colors.white,
      chipColor: Colors.blue,
      fabColor: Colors.blue,
      icon: new Icon(Icons.add),
      elevation: 4.0,
      text: "Click me",
      tooltip: "Button menu",

    ));

Add the Dialer to your UI #

//Using a Stack will assure that the Dialer will appear at the end of your layout
 new Stack(
          children: <Widget>[
            new Center(
                child: new Column(
                  children: <Widget>[
                    new Text(
                      'You have pushed the button this many times:',
                    ),
                    new Text(
                      '${_counter}',
                      style: Theme.of(context).textTheme.display1,
                    ),
                  ],
                )

            ),
              new FabDialer(_fabMiniMenuItemList,Colors.blue,new Icon(Icons.add)),
                    ],
        ));
18
likes
0
pub points
64%
popularity

Publisher

unverified uploader

A new flutter package project.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_fab_dialer