bayu/dev #15
|
@ -139,7 +139,7 @@ class TextFormView extends StatelessWidget {
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: fontColorDisabled ?? ColorPalette.slate500,
|
color: fontColorDisabled ?? ColorPalette.slate800,
|
||||||
),
|
),
|
||||||
readOnly: readOnly,
|
readOnly: readOnly,
|
||||||
validator: validator,
|
validator: validator,
|
||||||
|
@ -161,7 +161,7 @@ class TextFormView extends StatelessWidget {
|
||||||
hintStyle: hintTextStyle ??
|
hintStyle: hintTextStyle ??
|
||||||
const TextStyle(
|
const TextStyle(
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
color: ColorPalette.greyFont,
|
color: ColorPalette.slate400,
|
||||||
fontWeight: FontWeight.normal,
|
fontWeight: FontWeight.normal,
|
||||||
),
|
),
|
||||||
isDense: true,
|
isDense: true,
|
||||||
|
|
|
@ -45,7 +45,7 @@ class RegistrationPasswordView extends StatelessWidget {
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
if (value!.isEmpty) {
|
if (value!.isEmpty) {
|
||||||
return 'Password must filled';
|
return 'Password must filled';
|
||||||
} else if (value.length <= 8) {
|
} else if (value.length < 8) {
|
||||||
return 'Minimum password 8 Character';
|
return 'Minimum password 8 Character';
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -29,7 +29,8 @@ class SubmitBankAccount extends StatelessWidget {
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
child: Consumer<SubmissionDataViewModel>(
|
child: Consumer<SubmissionDataViewModel>(
|
||||||
builder: (context, provider, child) {
|
builder: (context, provider, child) {
|
||||||
return Column(
|
return SingleChildScrollView(
|
||||||
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
const TextCaption(title: 'Input your bank account data'),
|
const TextCaption(title: 'Input your bank account data'),
|
||||||
|
@ -43,13 +44,15 @@ class SubmitBankAccount extends StatelessWidget {
|
||||||
TextFormView(
|
TextFormView(
|
||||||
name: 'Account Number',
|
name: 'Account Number',
|
||||||
hintText: 'Input Account Number',
|
hintText: 'Input Account Number',
|
||||||
|
keyboardType: TextInputType.number,
|
||||||
trailingTitleWidget: SizedBox(
|
trailingTitleWidget: SizedBox(
|
||||||
width: 24,
|
width: 24,
|
||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
routePush(context, page: const GuideScreen());
|
routePush(context, page: const GuideScreen());
|
||||||
},
|
},
|
||||||
child: const ImageView(image: PathAssets.iconQuestion),
|
child:
|
||||||
|
const ImageView(image: PathAssets.iconQuestion),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -69,12 +72,14 @@ class SubmitBankAccount extends StatelessWidget {
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
provider.next(context).then((value) {
|
provider.next(context).then((value) {
|
||||||
if (value) {
|
if (value) {
|
||||||
routePush(context, page: const ConfirmBankAccount());
|
routePush(context,
|
||||||
|
page: const ConfirmBankAccount());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
|
@ -30,7 +30,7 @@ class SubmitDataIdCard extends StatelessWidget {
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
borderRadius:
|
borderRadius:
|
||||||
BorderRadius.vertical(top: Radius.circular(18))),
|
BorderRadius.vertical(top: Radius.circular(18))),
|
||||||
height: SizeConfig.height * .32,
|
height: SizeConfig.height * .35,
|
||||||
padding: const EdgeInsets.all(16.0),
|
padding: const EdgeInsets.all(16.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
@ -173,11 +173,15 @@ class SubmitDataIdCard extends StatelessWidget {
|
||||||
children: [
|
children: [
|
||||||
const TextCaption(
|
const TextCaption(
|
||||||
title: 'Check your ID card data for accuracy'),
|
title: 'Check your ID card data for accuracy'),
|
||||||
TextFormView(name: 'NIK'),
|
TextFormView(
|
||||||
|
name: 'NIK',
|
||||||
|
keyboardType: TextInputType.number,
|
||||||
|
),
|
||||||
TextFormView(name: 'Full Name'),
|
TextFormView(name: 'Full Name'),
|
||||||
DatePickerView(
|
DatePickerView(
|
||||||
name: 'Birth Date',
|
name: 'Birth Date',
|
||||||
ctrl: provider.ctrlBirthDate,
|
ctrl: provider.ctrlBirthDate,
|
||||||
|
maxDate: DateTime.now(),
|
||||||
isMultipleSelection: false,
|
isMultipleSelection: false,
|
||||||
enabled: true),
|
enabled: true),
|
||||||
photoDocument(provider),
|
photoDocument(provider),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user