removeTextPlaceholder method

  1. @override
void removeTextPlaceholder()
override

Requests that the client remove the text placeholder.

Implementation

@override
void removeTextPlaceholder() {
  if (!widget.scribbleEnabled || _placeholderLocation == -1) {
    return;
  }

  setState(() {
    _placeholderLocation = -1;
  });
}