removeTextPlaceholder method Null safety

  1. @override
void removeTextPlaceholder()
override

Requests that the client remove the text placeholder.

Implementation

@override
void removeTextPlaceholder() {
  if (!widget.scribbleEnabled) {
    return;
  }

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