Package selection guidance compiled from public package information, community data, and project usage.
A Flutter package that provides an animated speed dial Floating Action Button (FAB), allowing users to expand and collapse multiple action buttons with smooth transitions. It enhances UI interactivity by offering a compact, gesture-driven way to access several actions from a single FAB. The package supports all major platforms and is designed for intuitive navigation in mobile and web applications. Customizable animations and positioning make it suitable for modern, dynamic interfaces.
Use cases
Bottom navigation with multiple actions
Contextual action menus
Enhanced user interface for mobile apps
Quick access to common functions
Interactive design elements on web
Streamlined workflows in productivity apps
Key features
Smooth expand/collapse animations
Customizable button positions
Support for multiple action items
Cross-platform compatibility
Easy integration with existing UI
Configurable animation duration and curve
Suitable for
Developers building interactive mobile apps
Designers seeking dynamic FAB solutions
Teams using Flutter for cross-platform projects
Apps requiring contextual action panels
UX-focused application development
Projects emphasizing gesture-based interactions
Considerations
May impact performance with many action buttons
Requires careful layout planning
Animation behavior may vary across platforms
Not ideal for simple one-action scenarios
Needs testing on all target platforms
Limited customization beyond basic styling
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
flutter_expandable_fab is a speed dial FAB (Floating Action Button) that can animate the display and hiding of multiple action buttons.
It can be configured to display vertically, horizontally, or in a fan-shaped manner, on either side. It allows for fine-grained customization.
Migration from 1.x to 2.x
In version 2.x, I have made changes to enable free customization of the open/close buttons by setting builders.
You can customize the open/close buttons with your preferred Widget using FloatingActionButtonBuilder.
By using DefaultFloatingActionButtonBuilder, you can easily set up the FloatingActionButton.
RotateFloatingActionButtonBuilder provides a FloatingActionButton with a rotating animation.
Also, the items specified in children don't necessarily have to be FloatingActionButton; you can set any Widget freely.
Since children is an array of widgets, you can place any widget you like, not limited to FloatingActionButton.
You can also create buttons with labels as shown below.