draggable_floating_button 0.0.3 copy "draggable_floating_button: ^0.0.3" to clipboard
draggable_floating_button: ^0.0.3 copied to clipboard

outdated

The Draggable Floating Action Button (aka. **DFAB**),can be created just like the Floating Action Button, but it has a few features in addition, You need to pass in an Offset object, to letting the bu [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add draggable_floating_button

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  draggable_floating_button: ^0.0.3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:draggable_floating_button/draggable_floating_button.dart';
18
likes
0
pub points
65%
popularity

Publisher

unverified uploader

The Draggable Floating Action Button (aka. **DFAB**),can be created just like the Floating Action Button, but it has a few features in addition, You need to pass in an Offset object, to letting the button know where to position itself, You need to pass in the context and appBar of your application in order for the button to calculate correctly which where it has been dragged to across the application. The data field works in a similar fashion it works in a Draggable widget

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on draggable_floating_button