login input rtl

merge-requests/404/head
Sikander Saleem 4 years ago
parent d63f0cd1a3
commit f63293ef3e

@ -116,8 +116,7 @@ class _NewHomeHealthCareStepOnePageState extends State<NewHomeHealthCareStepOneP
);
}
},
textColor: (this.widget.patientERInsertPresOrderRequestModel.patientERHHCInsertServicesList.length == 0 || widget.model.state == ViewState.BusyLocal) ? Color(0xff000000) : Colors.white,
disabledColor: Color(0xffEAEAEA),
disabledColor: Color(0xff575757),
),
),
],

@ -109,7 +109,9 @@ class _Login extends State<Login> {
// inputWidget("Phone Number", "5xxxxxxxx", prefix: countryCode),
PhoneNumberSelectorWidget(onNumberChange: (value) => {mobileNo = value, validateForm()}, onCountryChange: (value) => countryCode = value),
SizedBox(height: 12),
inputWidget(loginType == 1 ? TranslationBase.of(context).nationalIdNumber : TranslationBase.of(context).medicalFileNumber, "Xxxxxxxxx", nationalIDorFile),
Directionality(
textDirection: TextDirection.ltr,
child: inputWidget(loginType == 1 ? TranslationBase.of(context).nationalIdNumber : TranslationBase.of(context).medicalFileNumber, "Xxxxxxxxx", nationalIDorFile)),
],
),
),

@ -53,7 +53,7 @@ class _PhoneNumberSelectorWidgetState extends State<PhoneNumberSelectorWidget> {
children: [
inputWidget(TranslationBase.of(context).country, countryName, isEnable: false, hasSelection: true),
SizedBox(height: 12),
inputWidget(TranslationBase.of(context).phoneNumber, "5xxxxxxxx", prefix: countryCode),
Directionality(textDirection: TextDirection.ltr, child: inputWidget(TranslationBase.of(context).phoneNumber, "5xxxxxxxx", prefix: countryCode)),
],
);
}

Loading…
Cancel
Save