showSpellCheckSuggestionsToolbar method

void showSpellCheckSuggestionsToolbar(
  1. WidgetBuilder spellCheckSuggestionsToolbarBuilder
)

Shows toolbar with spell check suggestions of misspelled words that are available for click-and-replace.

Implementation

void showSpellCheckSuggestionsToolbar(
  WidgetBuilder spellCheckSuggestionsToolbarBuilder
) {
  _updateSelectionOverlay();
  assert(context.mounted);
  _selectionOverlay
    .showSpellCheckSuggestionsToolbar(
      context: context,
      builder: spellCheckSuggestionsToolbarBuilder,
  );
  hideHandles();
}