From db972546eea0e02ec30d57e6cbf1621f84e9be31 Mon Sep 17 00:00:00 2001 From: Erdem Yerebasmaz Date: Tue, 14 May 2024 18:17:12 +0300 Subject: [PATCH] Disable native keyboard suggestions & autocorrect --- .../initial_walkthrough/mnemonics/widgets/restore_form.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/routes/initial_walkthrough/mnemonics/widgets/restore_form.dart b/lib/routes/initial_walkthrough/mnemonics/widgets/restore_form.dart index f269ecdd..d254d7fa 100644 --- a/lib/routes/initial_walkthrough/mnemonics/widgets/restore_form.dart +++ b/lib/routes/initial_walkthrough/mnemonics/widgets/restore_form.dart @@ -49,7 +49,10 @@ class RestoreFormPageState extends State { builder: (context, controller, focusNode) { return TextFormField( controller: widget.textEditingControllers[itemIndex], + autocorrect: false, enableSuggestions: false, + enableIMEPersonalizedLearning: false, + keyboardType: TextInputType.text, textInputAction: TextInputAction.next, focusNode: focusNodes[itemIndex], decoration: InputDecoration(