MoveElement constructor

MoveElement({
  1. required Offset startPoint,
  2. required Offset moveParams,
  3. required bool relative,
})

startPoint (Offset) REQUIRED moveParams (Offset) REQUIRED : Move x and y if not relative, otherwise move dx and dy. relative (bool) REQUIRED : Is it a relative move ?

Implementation

MoveElement({
  required this.startPoint,
  required this.moveParams,
  required this.relative,
});