update
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:cathaypay_mobile/Register/camera_card_id.dart';
|
||||
import 'package:cathaypay_mobile/Register/otp.dart';
|
||||
import 'package:cathaypay_mobile/Register/pre_register.dart';
|
||||
import 'package:cathaypay_mobile/Register/register.dart';
|
||||
import 'package:cathaypay_mobile/Register/register_occupation.dart';
|
||||
import 'package:cathaypay_mobile/utils/utils.dart';
|
||||
@@ -10,6 +11,7 @@ import 'package:google_fonts/google_fonts.dart';
|
||||
import 'package:mask_text_input_formatter/mask_text_input_formatter.dart';
|
||||
|
||||
import '../utils/calendar_picker.dart';
|
||||
import '../utils/color_custom.dart';
|
||||
|
||||
TextEditingController name = TextEditingController(text: idCardFront?.nameThai ?? "");
|
||||
TextEditingController email = TextEditingController();
|
||||
@@ -155,48 +157,50 @@ class _RegisterDataState extends State<RegisterData> {
|
||||
),*/
|
||||
],
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(0, 10, 0, 10),
|
||||
child: Container(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height: 1,
|
||||
color: Color(0xfff3f3f3),
|
||||
),
|
||||
),
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Text(
|
||||
"Back of card number".tr(),
|
||||
style: GoogleFonts.kanit(
|
||||
color: Color(0xff565656),
|
||||
fontSize: 15,
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: TextField(
|
||||
style: GoogleFonts.kanit(
|
||||
color: Color(0xff565656),
|
||||
fontSize: 15,
|
||||
),
|
||||
inputFormatters: <TextInputFormatter>[maskFormatter],
|
||||
maxLength: 15,
|
||||
keyboardType: TextInputType.text,
|
||||
textAlign: TextAlign.right,
|
||||
controller: idCardBackEditText,
|
||||
decoration: InputDecoration(
|
||||
counterText: "",
|
||||
hintText: '',
|
||||
suffixIcon: Icon(
|
||||
Icons.arrow_forward_ios_rounded,
|
||||
size: 15,
|
||||
color: Colors.grey,
|
||||
),
|
||||
border: InputBorder.none,
|
||||
),
|
||||
),
|
||||
),
|
||||
/*Expanded(
|
||||
isPassport?Container():Column(
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(0, 10, 0, 10),
|
||||
child: Container(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height: 1,
|
||||
color: Color(0xfff3f3f3),
|
||||
),
|
||||
),
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Text(
|
||||
"Back of card number".tr(),
|
||||
style: GoogleFonts.kanit(
|
||||
color: Color(0xff565656),
|
||||
fontSize: 15,
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: TextField(
|
||||
style: GoogleFonts.kanit(
|
||||
color: Color(0xff565656),
|
||||
fontSize: 15,
|
||||
),
|
||||
inputFormatters: <TextInputFormatter>[maskFormatter],
|
||||
maxLength: 15,
|
||||
keyboardType: TextInputType.text,
|
||||
textAlign: TextAlign.right,
|
||||
controller: idCardBackEditText,
|
||||
decoration: InputDecoration(
|
||||
counterText: "",
|
||||
hintText: '',
|
||||
suffixIcon: Icon(
|
||||
Icons.arrow_forward_ios_rounded,
|
||||
size: 15,
|
||||
color: Colors.grey,
|
||||
),
|
||||
border: InputBorder.none,
|
||||
),
|
||||
),
|
||||
),
|
||||
/*Expanded(
|
||||
child: Text(
|
||||
idCardBack?.nameThai ?? "",
|
||||
textAlign: TextAlign.right,
|
||||
@@ -207,8 +211,10 @@ class _RegisterDataState extends State<RegisterData> {
|
||||
),
|
||||
),
|
||||
),*/
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
/*Padding(
|
||||
padding: const EdgeInsets.fromLTRB(0, 10, 0, 10),
|
||||
child: Container(
|
||||
@@ -1201,21 +1207,22 @@ class _RegisterDataState extends State<RegisterData> {
|
||||
),
|
||||
);
|
||||
},
|
||||
child: Container(
|
||||
child: SizedBox(
|
||||
width: 374,
|
||||
height: 56,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
color: Color(0xff9d001b),
|
||||
),
|
||||
child: Center(
|
||||
child: Text(
|
||||
"Next".tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: GoogleFonts.kanit(
|
||||
color: Colors.white,
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w500,
|
||||
child: Card(
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(40),
|
||||
),
|
||||
child: Container(
|
||||
padding: EdgeInsets.all(10),
|
||||
child: Text(
|
||||
"Next".tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: GoogleFonts.kanit(
|
||||
color: ColorCustom.greyBorder,
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user