step 11 : proses login test

This commit is contained in:
sindhu
2024-01-15 15:59:17 +07:00
parent e35e3c5b68
commit 24353ba729
12 changed files with 127 additions and 366 deletions

View File

@@ -648,7 +648,7 @@ class TransaksiScreen extends HookConsumerWidget {
// Upload File
Container(
width: Constant.getActualXPhone(context: context, x: 336),
width: Constant.getActualXPhone(context: context, x: 390),
height: Constant.getActualYPhone(context: context, y: 83),
decoration: BoxDecoration(color: Constant.bgUploadFile),
child: Column(
@@ -657,12 +657,13 @@ class TransaksiScreen extends HookConsumerWidget {
children: [
Icon(
Icons.upload_outlined,
color: Constant.pcBtnBackgroundColor,
),
Text(
'Upload File',
style: Constant.body1(context: context).copyWith(
fontWeight: FontWeight.w600,
color: Constant.textBlack),
color: Constant.pcBtnBackgroundColor),
)
],
),
@@ -684,6 +685,20 @@ class TransaksiScreen extends HookConsumerWidget {
width: Constant.getActualXPhone(context: context, x: 336),
height: Constant.getActualYPhone(context: context, y: 42),
child: ElevatedButton(
style: ButtonStyle(
backgroundColor: MaterialStateColor.resolveWith((st) =>
Constant.pcBtnBackgroundColor),
shape: MaterialStateProperty.all<RoundedRectangleBorder>(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8),
side: BorderSide(
color: Constant.pcBtnBackgroundColor,
),
),
),
shadowColor: MaterialStateProperty.all(Color(0xffff48423d)),
elevation: MaterialStateProperty.all(4.0),
),
child: Stack(
children: [
(transaksiIsLoading.value)
@@ -700,7 +715,7 @@ class TransaksiScreen extends HookConsumerWidget {
'Simpan',
style: Constant.body1(context: context).copyWith(
fontWeight: FontWeight.w600,
color: Constant.textBlack),
color: Constant.white),
),
],
),