onMove method

void onMove(
  1. double speed,
  2. Direction direction,
  3. double angle
)

You can override this method to listen the movement of this component

Implementation

void onMove(
  double speed,
  Direction direction,
  double angle,
) {}