commitStroke method

void commitStroke()

Implementation

void commitStroke() {
  final USignatureStroke? stroke = _active;
  if (stroke == null) return;
  _strokes.add(stroke);
  _active = null;
  notifyListeners();
}