draggable_fab 0.1.0 draggable_fab: ^0.1.0 copied to clipboard
A Draggable FAB wrapper widget which can dragged to any edge of the screen.
draggable_fab #
A Draggable FAB wrapper widget which can dragged to any edge of the screen.
Installation #
Add draggable_fab: ^0.1.0
in your pubspec.yaml
dependencies. And import it:
import 'package:draggable_fab/draggable_fab.dart';
How to use #
Create a standalone widget e.g. Floating Action Bar widget :
DraggableFab(
child: FloatingActionButton(
onPressed: _incrementCounter,
child: Icon(Icons.add),
),
);