ltr issue fixed

merge-update-with-lab-changes
Sultan Khan 5 years ago
parent 078183c1fb
commit 79c17de0de

@ -93,7 +93,8 @@ class _Login extends State<Login> {
onNumberChange: (value) => onNumberChange: (value) =>
{mobileNo = value, validateForm()}, {mobileNo = value, validateForm()},
onCountryChange: (value) => countryCode = value), onCountryChange: (value) => countryCode = value),
Container( Directionality(
textDirection:TextDirection.ltr,child:Container(
child: TextFields( child: TextFields(
fontWeight: FontWeight.normal, fontWeight: FontWeight.normal,
controller: nationalIDorFile, controller: nationalIDorFile,
@ -108,7 +109,7 @@ class _Login extends State<Login> {
hintText: loginType == 1 hintText: loginType == 1
? TranslationBase.of(context).nationalID ? TranslationBase.of(context).nationalID
: TranslationBase.of(context).fileNo, : TranslationBase.of(context).fileNo,
)) )))
], ],
), ),
), ),

@ -72,7 +72,8 @@ class _Register extends State<Register> {
onNumberChange: (value) => onNumberChange: (value) =>
{mobileNo = value, validateForm()}, {mobileNo = value, validateForm()},
onCountryChange: (value) => countryCode = value), onCountryChange: (value) => countryCode = value),
Container( Directionality(
textDirection:TextDirection.ltr,child:Container(
child: TextFields( child: TextFields(
controller: nationalIDorFile, controller: nationalIDorFile,
onChanged: (value) => validateForm(), onChanged: (value) => validateForm(),
@ -81,7 +82,7 @@ class _Register extends State<Register> {
padding: EdgeInsets.only( padding: EdgeInsets.only(
top: 20, bottom: 20, left: 10, right: 10), top: 20, bottom: 20, left: 10, right: 10),
hintText: TranslationBase.of(context).nationalID, hintText: TranslationBase.of(context).nationalID,
)), ))),
Row( Row(
children: <Widget>[ children: <Widget>[
Expanded( Expanded(

@ -89,7 +89,8 @@ class _MobileNo extends State<MobileNo> {
}).toList())))), }).toList())))),
], ],
), ),
Container( Directionality(
textDirection:TextDirection.ltr,child:Container(
padding: EdgeInsets.all(5), padding: EdgeInsets.all(5),
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.white, color: Colors.white,
@ -131,7 +132,7 @@ class _MobileNo extends State<MobileNo> {
), ),
) )
]), ]),
) ))
])); ]));
} }
} }

Loading…
Cancel
Save