UidlDraggableLayer constructor

const UidlDraggableLayer({
  1. Key? key,
  2. double initialX = 0.0,
  3. double initialY = 0.0,
  4. String coordinateMode = 'absolute',
  5. String lockAxis = 'none',
  6. ValueChanged<Map<String, dynamic>>? onPanStart,
  7. ValueChanged<Map<String, dynamic>>? onPanUpdate,
  8. ValueChanged<Map<String, dynamic>>? onPanEnd,
  9. required Widget child,
})

Implementation

const UidlDraggableLayer({
  super.key,
  this.initialX = 0.0,
  this.initialY = 0.0,
  this.coordinateMode = 'absolute',
  this.lockAxis = 'none',
  this.onPanStart,
  this.onPanUpdate,
  this.onPanEnd,
  required this.child,
});