removePlaceholder method

void removePlaceholder([
  1. bool setCursor = false
])

Remove placeholder from the content. If setCursor is true, will also set the cursor to the start of the selection. However, this will be ASYNCHRONOUS, so if you rely on the fact that the placeholder is removed after calling this method, setCursor should be false ( or not set )

Implementation

void removePlaceholder([bool setCursor = false]) {
  _context!.callMethod('removePlaceholder', [setCursor]);
}