Commit 8d279c0f authored by Izol's avatar Izol

added handle after topup customer auto check saldo in 5 seconds

parent 987da09a
...@@ -512,7 +512,7 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -512,7 +512,7 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
dialogType: DialogType.success, dialogType: DialogType.success,
animType: AnimType.rightSlide, animType: AnimType.rightSlide,
dismissOnTouchOutside: false, dismissOnTouchOutside: false,
// autoHide: Duration(seconds: int.parse(idle)), autoHide: Duration(seconds: 5),
headerAnimationLoop: true, headerAnimationLoop: true,
title: 'Isi Ulang Anda Berhasil, Saldo Anda Saat Ini $balance', title: 'Isi Ulang Anda Berhasil, Saldo Anda Saat Ini $balance',
titleTextStyle: blackTextStyle.copyWith( titleTextStyle: blackTextStyle.copyWith(
...@@ -525,9 +525,12 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -525,9 +525,12 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
fontWeight: medium, fontWeight: medium,
), ),
).show(); ).show().then((value) {
timer?.cancel();
// isShowingDialog = true; isShowingDialog = true;
_showTap();
tapDial();
});
infoM = await StartService.print( infoM = await StartService.print(
info, info,
...@@ -2294,7 +2297,7 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -2294,7 +2297,7 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
Widget buildwalletCard() { Widget buildwalletCard() {
return Center( return Center(
child: Container( child: Container(
width: 1050, width: 1090,
height: 480, height: 480,
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(28), borderRadius: BorderRadius.circular(28),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment