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

A simple package for adding a Diamond Shaped Floating Action Button with triangular notched in buttom app bar.

Material Design Diamond FAB #

A simple package for adding a Diamond Floating Action Button or FAB to a flutter application. This FAB also allows for a notch to be made inside of the Bottom Application Bar or Bottom Navigation Bar based on the positioning.

Show some ❤️ and star the repo to support the project #

Screenshots #

Usage #

Example

To use this package :

  dependencies:
    flutter:
      sdk: flutter
    diamond_notched_fab: ^0.0.1

To set diamond shaped FAB #

//...
fabButton() =>  DiamondNotchedFab(
                onPressed: (){},
                backgroundColor: Colors.greenAccent,
                child: Icon(Icons.add),
                );
//...

Fetch Songs #

//...
bottomBar() =>  BottomAppBar(
                notchMargin: 8,
                shape: DiamondFabNotchedShape(),
                color: Colors.indigo,
                child: Container(height: 60.0),
                );
//...

Created & Maintained By #

Jay Patel

Getting Started #

For help getting started with Flutter, view our online documentation.

8
likes
35
pub points
0%
popularity

Publisher

unverified uploader

A simple package for adding a Diamond Shaped Floating Action Button with triangular notched in buttom app bar.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on diamond_notched_fab