mek_floating_drag 0.1.3+1 mek_floating_drag: ^0.1.3+1 copied to clipboard
Enable a widget to be dragged allowing it to be removed if dropped in an area or hidden if time passes or is pressed out.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mek_floating_drag
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
mek_floating_drag: ^0.1.3+1
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:mek_floating_drag/mek_floating_drag.dart';