enable web, mobile & desktop spell check
This commit is contained in:
parent
6746c239e3
commit
8f46cf144c
4 changed files with 17 additions and 7 deletions
|
|
@ -125,6 +125,7 @@ class _MihSearchBarState extends State<MihSearchBar> {
|
|||
child: TextField(
|
||||
controller: widget.controller, // Assign the controller
|
||||
focusNode: widget.searchFocusNode,
|
||||
autocorrect: true,
|
||||
spellCheckConfiguration: kIsWeb ? null : SpellCheckConfiguration(),
|
||||
onSubmitted: (value) {
|
||||
widget.onPrefixIconTap
|
||||
|
|
|
|||
|
|
@ -153,6 +153,7 @@ class _MihTextFormFieldState extends State<MihTextFormField> {
|
|||
controller: widget.controller,
|
||||
cursorColor: widget.inputColor,
|
||||
autofillHints: widget.autofillHints,
|
||||
autocorrect: true,
|
||||
spellCheckConfiguration: (kIsWeb ||
|
||||
widget.passwordMode == true ||
|
||||
widget.numberMode == true)
|
||||
|
|
|
|||
|
|
@ -15,13 +15,13 @@ abstract class AppEnviroment {
|
|||
case Enviroment.dev:
|
||||
{
|
||||
//================= Android Dev Urls =================
|
||||
baseApiUrl = "http://10.0.2.2:8080";
|
||||
baseFileUrl = "http://10.0.2.2:9000";
|
||||
baseAiUrl = "http://10.0.2.2:11434";
|
||||
// baseApiUrl = "http://10.0.2.2:8080";
|
||||
// baseFileUrl = "http://10.0.2.2:9000";
|
||||
// baseAiUrl = "http://10.0.2.2:11434";
|
||||
//================= Web Dev Urls =================
|
||||
// baseApiUrl = "http://localhost:8080";
|
||||
// baseFileUrl = "http://localhost:9000";
|
||||
// baseAiUrl = "http://localhost:11434";
|
||||
baseApiUrl = "http://localhost:8080";
|
||||
baseFileUrl = "http://localhost:9000";
|
||||
baseAiUrl = "http://localhost:11434";
|
||||
break;
|
||||
}
|
||||
case Enviroment.prod:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue