DiTreDiDraggable constructor

const DiTreDiDraggable({
  1. Key? key,
  2. required DiTreDiController controller,
  3. required Widget child,
  4. bool rotationEnabled = true,
  5. bool scaleEnabled = true,
})

Creates a DiTreDiDraggable widget.

Implementation

const DiTreDiDraggable({
  Key? key,
  required this.controller,
  required this.child,
  this.rotationEnabled = true,
  this.scaleEnabled = true,
}) : super(key: key);