flutter.io (dart) - how to hide keyboard suggestions bar? flutter.io (dart) - how to hide keyboard suggestions bar? dart dart

flutter.io (dart) - how to hide keyboard suggestions bar?


use EditableText class and set property autocorrect to false.
Do tell if it works, haven't tried it yet.


just add parameter autocorrect:false,Then it will hide the suggestions.

new TextField(    autocorrect: false,    controller: _tbName,    decoration: new InputDecoration(       icon: const Icon(Icons.person),       hintText: 'Enter your Name',       labelText: 'Name',       helperText: 'Required',       errorText: nameErrorText,    ),    onChanged: (value) {      //save here                   },);


You can use this for disable sugestions and autocorrect:

TextField(   enableSuggestions: false,   autocorrect: false),