MovableWidget constructor
MovableWidget({
- required Widget child,
- HitTestBehavior? behavior = HitTestBehavior.opaque,
- double dx = 0,
- double dy = 0,
- ValueChanged<
Offset> ? onMoveStart, - ValueChanged<
Offset> ? onMoveEnd,
Implementation
MovableWidget({required this.child, this.behavior = HitTestBehavior.opaque, this.dx = 0, this.dy = 0, this.onMoveStart, this.onMoveEnd});