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

outdated

Allows you to create a collapsible list of float buttons. Based on Agung Surya's tutorial in https://medium.com/@agungsurya/create-a-simple-animated-floatingactionbutton-in-flutter-2d24f37cfbcc

animated_floatactionbuttons #

https://medium.com/@agungsurya/create-a-simple-animated-floatingactionbutton-in-flutter-2d24f37cfbcc

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

##Screenshots

Usage #

To use this plugin:

In your flutter project add the dependency:

dependencies:
    ...
    animated_floatactionbuttons: 0.0.1

Example #

Widget float1() {
    return Container(
      child: FloatingActionButton(
        onPressed: null,
        tooltip: 'First button',
        child: Icon(Icons.add),
      ),
    );
}
Widget float2() {
    return Container(
      child: FloatingActionButton(
        onPressed: null,
        tooltip: 'Second button',
        child: Icon(Icons.add),
      ),
    );
}
...
Scaffold(
    floatingActionButton: AnimatedFloatingActionButton(
        //Fab list
        fabButtons: <Widget>[
            float1(), float2()
        ],
        colorStartAnimation: Colors.Blue,
        colorEndAnimation: Colors.Red,
        animatedIconData: AnimatedIcons.menu_close //To principal button
    ),
)
34
likes
0
pub points
86%
popularity

Publisher

unverified uploader

Allows you to create a collapsible list of float buttons. Based on Agung Surya's tutorial in https://medium.com/@agungsurya/create-a-simple-animated-floatingactionbutton-in-flutter-2d24f37cfbcc

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on animated_floatactionbuttons