floating_action_bubble
1.1.4, released 5 years ago by an unverified publisher
An animated menu using a floating action button with customizable items.
What it does
Provides a widget to display an expandable animated menu triggered by a Floating Action Button. Each menu item (Bubble) supports custom titles, icons, colors, and press actions.
AI-written summary of version 1.1.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a floating action button that expands into multiple custom menu options.
- You need an easy way to animate a circular or bubble menu from a FAB.
Skip it when
- You need complex navigation drawers or bottom navigation bars.
- You want a built-in state management solution instead of manually handling AnimationControllers.
Strengths
- Fully customizable bubble and icon appearances.
- Supports null safety and animation controllers.
Weaknesses
- Requires manual setup of an AnimationController and CurvedAnimation.
- Limited documentation outside of the basic README example.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Just add the dependency to pubspec.yml.
FloatingActionBubble(
items: <Bubble>[
Bubble(
title: "Settings",
iconColor: Colors.white,
bubbleColor: Colors.blue,
icon: Icons.settings,
titleStyle: TextStyle(fontSize: 16, color: Colors.white),
onPress: () {
_animationController.reverse();
},
),
],
animation: _animation,
onPress: () => _animationController.isCompleted
? _animationController.reverse()
: _animationController.forward(),
iconColor: Colors.blue,
iconData: Icons.ac_unit,
backGroundColor: Colors.white,
)Alternatives
Packages that do the same job and could replace floating_action_bubble.
- flutter_slidable
Flutter implementation of slidable list item with directional slide actions and dismissal.
97Compare - rounded_loading_button_plus
Animated button with loading, success and error states for Flutter.
50Compare - flutter_expandable_fab
Speed dial floating action button widget that animates multiple action buttons.
82Compare - fab_circular_menu_plus
A Flutter package to create a circular menu using a Floating Action Button.
53Compare