movable_widget 0.0.11 movable_widget: ^0.0.11 copied to clipboard
A widget which can move by gesture
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add movable_widget
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
movable_widget: ^0.0.11
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:movable_widget/listener/WidgetEventListener.dart';
import 'package:movable_widget/movable_widget/MovableWidget.dart';
import 'package:movable_widget/serializable/SerializableWidget.dart';
import 'package:movable_widget/serializable/WidgetSerializableModel.dart';