TF-1884 Support RTL mode for TextFormField

(cherry picked from commit 7c12f65a037bb5a1b6cef91938af1ec1dac20a9b)
This commit is contained in:
dab246
2023-06-14 12:29:22 +07:00
committed by Dat H. Pham
parent df19b979a2
commit 9064d95483
7 changed files with 138 additions and 200 deletions
@@ -102,10 +102,10 @@ class EditTextDialogBuilder {
textAlign: TextAlign.center),
Padding(
padding: const EdgeInsets.only(top: 20),
child: TextFormField(
child: TextFormFieldBuilder(
keyboardType: TextInputType.visiblePassword,
onChanged: (value) => _onTextChanged(value, setState),
autofocus: true,
onTextChange: (value) => _onTextChanged(value, setState),
autoFocus: true,
controller: _textController,
decoration: InputDecoration(
errorText: _error,