pointerMoving method

void pointerMoving(
  1. PointerMoveEvent event
)

pointer moving's callback

Implementation

void pointerMoving(PointerMoveEvent event) {
  pointerUpPosition = event.localPosition;
  switch(moveStuff) {
    case MoveStuff.non:
      break;
    case MoveStuff.text:
      if(movingTarget is FloatTextModel) {
        switchTrashCanColor(isThrowText(event.localPosition, movingTarget!));
      }
      break;
  }
}