MoveElement constructor

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

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.moveParams, required this.relative});