diff --git a/lib/utilities/display_error_alert.dart b/lib/utilities/display_error_alert.dart index 1679e58..bc8633b 100644 --- a/lib/utilities/display_error_alert.dart +++ b/lib/utilities/display_error_alert.dart @@ -58,7 +58,8 @@ void showErrorAlert(BuildContext context, Map error) { onPressed: errorTypes[currentError].onClose, child: Text('OK'), style: ElevatedButton.styleFrom( - primary: Colors.transparent, + // primary: Colors.transparent, + backgroundColor: Colors.transparent, // Flutter 3.27 removed primary - by Azmat shadowColor: Colors.transparent, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(10)),