An open API service indexing awesome lists of open source software.

https://github.com/simrat39/animated_fab

Gmail like floating action button which expands on scrolling up
https://github.com/simrat39/animated_fab

Last synced: about 1 year ago
JSON representation

Gmail like floating action button which expands on scrolling up

Awesome Lists containing this project

README

          

# AnimatedFAB

## Description:
### A Gmail like FloatingActionButton which expands when the user scrolls up.

![Fab3](./fab3.gif)

## Usage:
### In your scaffold:
floatingActionButton: AnimatedFAB(
scrollController: scrollController,
icon: Icon(
Icons.add,
color: Colors.white,
),
text: 'Add',
maxWidth: 50,
backgroundColor: Colors.teal,
onTap: () {
print("tapped");
},
// textStyle: whatever
// contentPaddingFactor: whatever
),

### Make sure a valid scroll controller is provided.

## Add to your project
### In your pubspec.yaml
dependencies:
flutter:
sdk: flutter

animated_fab:
git:
url: https://github.com/simrat39/animated_fab