adding new variable
This commit is contained in:
@@ -58,7 +58,8 @@ void showErrorAlert(BuildContext context, Map<String, dynamic> 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)),
|
||||
|
||||
Reference in New Issue
Block a user