|
|
|
|
@ -69,7 +69,7 @@ class _RegisterNew extends State<RegisterNewStep2> {
|
|
|
|
|
height: double.infinity,
|
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
|
reverse: false,
|
|
|
|
|
padding: EdgeInsets.only(left: 24.h, right: 24.h, top: 0.h),
|
|
|
|
|
padding: EdgeInsets.only(left: 24.w, right: 24.w, top: 0.h),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
@ -98,7 +98,7 @@ class _RegisterNew extends State<RegisterNewStep2> {
|
|
|
|
|
leadingIcon: AppAssets.user_circle,
|
|
|
|
|
labelColor: AppColors.textColor,
|
|
|
|
|
).paddingSymmetrical(0.h, 16.h),
|
|
|
|
|
Divider(height: 1, color: AppColors.greyColor),
|
|
|
|
|
Divider(height: 1.h, color: AppColors.greyColor),
|
|
|
|
|
TextInputWidget(
|
|
|
|
|
labelText: LocaleKeys.nationalIdNumber.tr(),
|
|
|
|
|
hintText: authVM!.isUserFromUAE() ? appState.getUserRegistrationPayload.patientIdentificationId.toString() : (appState.getNHICUserData.idNumber ?? ""),
|
|
|
|
|
@ -130,7 +130,7 @@ class _RegisterNew extends State<RegisterNewStep2> {
|
|
|
|
|
hasSelectionCustomIcon: true,
|
|
|
|
|
isAllowRadius: false,
|
|
|
|
|
labelColor: AppColors.textColor,
|
|
|
|
|
padding: const EdgeInsets.only(top: 8, bottom: 8, left: 0, right: 0),
|
|
|
|
|
padding: EdgeInsets.only(top: 8.h, bottom: 8.h, left: 0, right: 0),
|
|
|
|
|
selectionCustomIcon: AppAssets.arrow_down,
|
|
|
|
|
leadingIcon: AppAssets.user_full,
|
|
|
|
|
).withVerticalPadding(8);
|
|
|
|
|
@ -167,7 +167,7 @@ class _RegisterNew extends State<RegisterNewStep2> {
|
|
|
|
|
hasSelectionCustomIcon: true,
|
|
|
|
|
isAllowRadius: false,
|
|
|
|
|
labelColor: AppColors.textColor,
|
|
|
|
|
padding: const EdgeInsets.only(top: 8, bottom: 8, left: 0, right: 0),
|
|
|
|
|
padding: EdgeInsets.only(top: 8.h, bottom: 8.h, left: 0, right: 0),
|
|
|
|
|
selectionCustomIcon: AppAssets.arrow_down,
|
|
|
|
|
leadingIcon: AppAssets.smart_phone,
|
|
|
|
|
).withVerticalPadding(8);
|
|
|
|
|
@ -188,7 +188,7 @@ class _RegisterNew extends State<RegisterNewStep2> {
|
|
|
|
|
leadingIcon: AppAssets.smart_phone,
|
|
|
|
|
onChange: (value) {})
|
|
|
|
|
.paddingSymmetrical(0.h, 16.h),
|
|
|
|
|
Divider(height: 1, color: AppColors.greyColor),
|
|
|
|
|
Divider(height: 1.h, color: AppColors.greyColor),
|
|
|
|
|
authVM!.isUserFromUAE()
|
|
|
|
|
? Selector<AuthenticationViewModel, ({List<NationalityCountries>? countriesList, NationalityCountries? selectedCountry, bool isArabic})>(
|
|
|
|
|
selector: (context, authViewModel) {
|
|
|
|
|
@ -217,10 +217,10 @@ class _RegisterNew extends State<RegisterNewStep2> {
|
|
|
|
|
hasSelectionCustomIcon: true,
|
|
|
|
|
labelColor: AppColors.textColor,
|
|
|
|
|
isAllowRadius: false,
|
|
|
|
|
padding: const EdgeInsets.only(top: 8, bottom: 8, left: 0, right: 0),
|
|
|
|
|
padding: EdgeInsets.only(top: 8.h, bottom: 8.h, left: 0, right: 0),
|
|
|
|
|
selectionCustomIcon: AppAssets.arrow_down,
|
|
|
|
|
leadingIcon: AppAssets.globe,
|
|
|
|
|
).withVerticalPadding(8);
|
|
|
|
|
).withVerticalPadding(8.h);
|
|
|
|
|
},
|
|
|
|
|
)
|
|
|
|
|
: TextInputWidget(
|
|
|
|
|
@ -256,7 +256,7 @@ class _RegisterNew extends State<RegisterNewStep2> {
|
|
|
|
|
leadingIcon: AppAssets.call)
|
|
|
|
|
.paddingSymmetrical(0.h, 16.h),
|
|
|
|
|
Divider(
|
|
|
|
|
height: 1,
|
|
|
|
|
height: 1.h,
|
|
|
|
|
color: AppColors.greyColor,
|
|
|
|
|
),
|
|
|
|
|
TextInputWidget(
|
|
|
|
|
@ -292,9 +292,7 @@ class _RegisterNew extends State<RegisterNewStep2> {
|
|
|
|
|
iconColor: AppColors.primaryRedColor,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 16,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(width: 16.w),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: CustomButton(
|
|
|
|
|
backgroundColor: AppColors.primaryRedColor,
|
|
|
|
|
|