deleteTextWidget method

void deleteTextWidget(
  1. FloatTextModel target
)

delete a text from canvas

Implementation

void deleteTextWidget(FloatTextModel target) {
  textModels.remove(target);
  refreshTextCanvas();
}