This commit is contained in:
Manasit.K
2024-12-12 10:12:19 +07:00
parent 43c32ef6cf
commit ed510b00d1
52 changed files with 1256 additions and 1027 deletions

View File

@@ -14,6 +14,7 @@ import 'package:path_provider/path_provider.dart';
import 'package:signature/signature.dart';
import '../api/api.dart';
import '../utils/color_custom.dart';
class RegisterSignaturePage extends StatefulWidget {
const RegisterSignaturePage({Key? key}) : super(key: key);
@@ -62,7 +63,7 @@ class _RegisterSignaturePageState extends State<RegisterSignaturePage> {
"Password": password.text,
"ConfirmPassword": passwordConfirm.text,
"MobileDeviceId": deviceId,
"PersonalCardId": idCardFront?.idCard,
"PersonalCardId": idCardEditText.text,
"MaxCardID": phone.text,
"UserType": "P",
"CustomerTypeId": "P01",
@@ -229,21 +230,23 @@ class _RegisterSignaturePageState extends State<RegisterSignaturePage> {
onTap: () async {
signatureCapture();
},
child: Container(
child: SizedBox(
width: double.infinity,
margin: EdgeInsets.only(left: 20, right: 20, bottom: 20, top: 20),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(100),
color: Color(0xff9d001b),
),
padding: EdgeInsets.all(10),
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,
),
),
),
),
),