releaseText method

void releaseText(
  1. DragEndDetails details,
  2. FloatTextModel model,
  3. Function throwCall
)

release the moving-text.

Implementation

void releaseText(DragEndDetails details, FloatTextModel model, Function throwCall) {
  if(isThrowText(pointerUpPosition??Offset.zero, model)) {
    throwCall.call();
  }
  doIdle();
}