Flutter Floating Action Button with Speed Dial
Switch branches/tags
Nothing to show
Clone or download
tiagojencmartins Merge pull request #18 from prolutionsGmbH/master
Configurable animation time for _parentController
Latest commit b33ed11 Dec 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example Remove boilerplate Jul 12, 2018
lib made animation time for _parentController configurable Oct 16, 2018
unicorndialer changes Jul 1, 2018
.gitignore changes Jul 1, 2018
CHANGELOG.md First commit Jul 1, 2018
LICENSE First commit Jul 1, 2018
README.md Changes Oct 4, 2018
horizontal.gif Add files via upload Jul 12, 2018
pubspec.lock changes Jul 1, 2018
pubspec.yaml Changes Oct 4, 2018
unicorndial.iml First commit Jul 1, 2018
vertical.gif readme Jul 12, 2018

README.md

UnicornDialer

Easily create your own floating action button list

alt text

alt text

Installing

Add UnicornDialer to your pubspec.yaml

unicorndial: "^1.1.5"

Options

UnicornDialer class

int orientation - Vertical or horizontal floating button list

Object parentHeroTag - Main FAB hero tag

Color backgroundColor - Modal background color

Icon parentButton - Starting Icon

Icon finalButtonIcon - Ending Icon (after animation is complete)

bool hasBackground - Background modal is set

Color parentButtonBackground - The main floating button background color

List<UnicornButton> childButtons Floating button list

int animationDuration Rotation and expanding animation duration (in milliseconds)

double childPadding - Right padding on the button label

Function onMainButtonPressed - To be called if set on the UnicornDialer parent widget

bool hasNotch - BottomAppBar support

UnicornButton class

FloatingActionButton currentButton - Floating list button

String labelText

double labelFontSize

Color labelColor

Color labelBackgroundColor

Color labelShadowColor - Label container shadow

bool labelHasShadow

bool hasLabel

Authors

Tiago Martins

License

This project is licensed under the MIT License - see the LICENSE.md file for details