diamond_notched_fab 0.0.1 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 #
To use this package :
- add the dependency to your pubspec.yaml file.
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 #
Getting Started #
For help getting started with Flutter, view our online documentation.