A Speed Dial FAB widget for Flutter
Please note: Most of the support on debugging new issues relies on the open source community.
To use speed_dial_fab, import
the speed_dial_fab
module and use the speed_dial_fab
Widget. More usage examples can be seen under the examples/
folder.
Here is the Primary and Secondary FAB reference:
Change the background color of the primary FAB button.
propType: Color
default: Colors.white
Change the foregroundColor of the primary FAB button.
propType: Color
default: Colors.black
Change the background color of the secondary FAB buttons.
propType: Color
default: Colors.white
Change the foreground color of the secondary FAB buttons.
propType: Color
default: Colors.black
Change the icons of the secondary FAB buttons.
propType: List[IconData]
REQUIRED!
An array of function that will be called when secondary button is clicked
propType: List[Function]
REQUIRED!
Change the text of the icon for the secondary FAB buttons, the little ones that expand and colapse from the main FAB.
propType: List[String]
default: null
(No tooltip)
Change the icon for the principal FAB when the secondary FABs aren't visible. Expand secondary FABS.
propType: IconData
default: Icons.expand_less
Change the icon for the principal FAB when the secondary FABs are visible. Close/Collapse secondary FABS.
propType: IconData
default: Icons.expand_less
primaryElevation Change the elevation of the primary FAB button.
propType: double
default: 10.0
secondaryElevation Change the elevation of the secondary FAB button.
propType: double
default: 10.0
Change the animation icon for the principal FAB, when is clicked.
propType: double
default: 'math.pi (180°)
Force animation of expand the secondary fab. Note: This can mess the animation, so use it wisely.
Force animation of collapse the secondary fab. Note: This can mess the animation, so use it wisely.
Please open an issue if something doesn't work or is not clear enough.
- Add Test to every components
See LICENSE.md