From 3fe54363752b8b91ac4a9880ace7442a9ee39336 Mon Sep 17 00:00:00 2001 From: Muhammad Tayyab Date: Tue, 27 Oct 2020 23:23:18 +0500 Subject: [PATCH] fix cancelButtonColor in show --- lib/sweetalert.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sweetalert.dart b/lib/sweetalert.dart index f5c86c1..309139a 100644 --- a/lib/sweetalert.dart +++ b/lib/sweetalert.dart @@ -278,7 +278,7 @@ abstract class SweetAlert { confirmButtonColor: confirmButtonColor, confirmButtonText: confirmButtonText, cancelButtonText: cancelButtonText, - cancelButtonColor: confirmButtonColor); + cancelButtonColor: cancelButtonColor); if(_state!=null){ _state.update(options); }else{