draggable_fab
0.1.4, released 5 years ago by an unverified publisher
A wrapper widget that makes a Floating Action Button draggable to screen edges.
What it does
It wraps a FloatingActionButton to allow users to drag it around the screen. The widget snaps or moves to the edges of the screen based on user interaction.
AI-written summary of version 0.1.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to give users the ability to reposition a Floating Action Button.
- You need a simple wrapper widget for an existing FloatingActionButton without complex setup.
Skip it when
- You need a non-FAB draggable element (use other gesture or overlay tools instead).
- You require complex custom physics or non-edge snapping behaviors not documented.
Strengths
- Easy to integrate as a wrapper around standard FloatingActionButtons.
- Supports multiple platforms including Android, iOS, Web, Windows, macOS, and Linux.
Weaknesses
- Limited documentation beyond basic usage.
- No explicit alternatives from the catalog list.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
DraggableFab(
child: FloatingActionButton(
onPressed: _incrementCounter,
child: Icon(Icons.add),
),
);Alternatives
Packages that do the same job and could replace draggable_fab.
- draggable_widget
A Flutter widget that can be dragged around the screen.
50Compare - interactive_bottom_sheet
A customizable interactive bottom sheet that lets users interact with the screen behind it.
65Compare - floating_draggable_widget
A Flutter widget that lets users drag any widget freely around the screen.
50Compare - blur
A wrapper widget and extension to blur children and images or apply frosted glass effects.
62Compare