MovableWidget constructor

MovableWidget({
  1. required Widget child,
  2. HitTestBehavior? behavior = HitTestBehavior.opaque,
  3. double dx = 0,
  4. double dy = 0,
  5. ValueChanged<Offset>? onMoveStart,
  6. ValueChanged<Offset>? onMoveEnd,
})

Implementation

MovableWidget({required this.child, this.behavior = HitTestBehavior.opaque, this.dx = 0, this.dy = 0, this.onMoveStart, this.onMoveEnd});