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{