flutter unicorndialer
easily create your own floating action button list.
flutter floating action button with speed dial.
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
Comments are closed.