enableSuggestions property
final
Whether to show input suggestions as the user types.
This flag only affects Android. On iOS, suggestions are tied directly to autocorrect, so that suggestions are only shown when autocorrect is true. On Android autocorrection and suggestion are controlled separately.
On Android, setting this to false can also limit which keyboard languages
the user can type in. Keyboards interpret the underlying
TYPE_TEXT_FLAG_NO_SUGGESTIONS flag differently: some, like Gboard,
disable keyboard languages that rely on suggestions to work, such as
Chinese, Korean, and Cantonese, so the user can't switch to them while
typing in the field. Consider leaving this true for fields where users may
need to type in those languages.
Defaults to true.
See also:
Implementation
final bool enableSuggestions;