|
|
|
|
@ -13,28 +13,30 @@ class SwipeSuccessView extends StatelessWidget {
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return Scaffold(
|
|
|
|
|
body: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
crossAxisAlignment:CrossAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
'swipe_success'.toSvgAsset(),
|
|
|
|
|
17.height,
|
|
|
|
|
context.translation.successful.heading4(context).custom(color: AppColor.white936),
|
|
|
|
|
8.height,
|
|
|
|
|
context.translation.youHaveSuccessfullyMarkedYourAttendance.bodyText2(context).custom(color: AppColor.neutral120),
|
|
|
|
|
],
|
|
|
|
|
).expanded,
|
|
|
|
|
AppFilledButton(
|
|
|
|
|
label: 'Close',
|
|
|
|
|
maxWidth: true,
|
|
|
|
|
onPressed:(){
|
|
|
|
|
Navigator.pop(context);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(start: 20, end: 20, bottom: 16),
|
|
|
|
|
body: SafeArea(
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
crossAxisAlignment:CrossAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
'swipe_success'.toSvgAsset(),
|
|
|
|
|
17.height,
|
|
|
|
|
context.translation.successful.heading4(context).custom(color: AppColor.white936),
|
|
|
|
|
8.height,
|
|
|
|
|
context.translation.youHaveSuccessfullyMarkedYourAttendance.bodyText2(context).custom(color: AppColor.neutral120),
|
|
|
|
|
],
|
|
|
|
|
).expanded,
|
|
|
|
|
AppFilledButton(
|
|
|
|
|
label: 'Close',
|
|
|
|
|
maxWidth: true,
|
|
|
|
|
onPressed:(){
|
|
|
|
|
Navigator.pop(context);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
).paddingAll(21),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|