|
|
|
@ -94,7 +94,8 @@ class LoginScreenState extends State<LoginScreen> {
|
|
|
|
LocaleKeys.welcomeToDrSulaiman.tr(context: context).toText32(isBold: true, color: AppColors.textColor ),
|
|
|
|
LocaleKeys.welcomeToDrSulaiman.tr(context: context).toText32(isBold: true, color: AppColors.textColor ),
|
|
|
|
SizedBox(height: 32.h),
|
|
|
|
SizedBox(height: 32.h),
|
|
|
|
Localizations.override(context: context, locale: Locale('en', 'US'), child: Container()), // Force English locale for this widget
|
|
|
|
Localizations.override(context: context, locale: Locale('en', 'US'), child: Container()), // Force English locale for this widget
|
|
|
|
TextInputWidget(
|
|
|
|
ClarityUnmask(
|
|
|
|
|
|
|
|
child: TextInputWidget(
|
|
|
|
labelText: LocaleKeys.nationalIdFileNumber.tr(context: context),
|
|
|
|
labelText: LocaleKeys.nationalIdFileNumber.tr(context: context),
|
|
|
|
hintText: "xxxxxxxxx",
|
|
|
|
hintText: "xxxxxxxxx",
|
|
|
|
controller: authVm.nationalIdController,
|
|
|
|
controller: authVm.nationalIdController,
|
|
|
|
@ -116,6 +117,7 @@ class LoginScreenState extends State<LoginScreen> {
|
|
|
|
authVm.clearNationalIdError();
|
|
|
|
authVm.clearNationalIdError();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
SizedBox(height: 16.h),
|
|
|
|
CustomButton(
|
|
|
|
CustomButton(
|
|
|
|
height: 50.h,
|
|
|
|
height: 50.h,
|
|
|
|
@ -205,7 +207,8 @@ class LoginScreenState extends State<LoginScreen> {
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
child: Consumer<AuthenticationViewModel>(
|
|
|
|
child: Consumer<AuthenticationViewModel>(
|
|
|
|
builder: (context, authVm, child) {
|
|
|
|
builder: (context, authVm, child) {
|
|
|
|
return GenericBottomSheet(
|
|
|
|
return ClarityUnmask(
|
|
|
|
|
|
|
|
child: GenericBottomSheet(
|
|
|
|
countryCode: authVm.selectedCountrySignup.countryCode,
|
|
|
|
countryCode: authVm.selectedCountrySignup.countryCode,
|
|
|
|
initialPhoneNumber: "",
|
|
|
|
initialPhoneNumber: "",
|
|
|
|
textController: phoneNumberController,
|
|
|
|
textController: phoneNumberController,
|
|
|
|
@ -264,6 +267,7 @@ class LoginScreenState extends State<LoginScreen> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|