adding new variable
This commit is contained in:
@@ -58,7 +58,8 @@ void showErrorAlert(BuildContext context, Map<String, dynamic> error) {
|
|||||||
onPressed: errorTypes[currentError].onClose,
|
onPressed: errorTypes[currentError].onClose,
|
||||||
child: Text('OK'),
|
child: Text('OK'),
|
||||||
style: ElevatedButton.styleFrom(
|
style: ElevatedButton.styleFrom(
|
||||||
primary: Colors.transparent,
|
// primary: Colors.transparent,
|
||||||
|
backgroundColor: Colors.transparent, // Flutter 3.27 removed primary - by Azmat
|
||||||
shadowColor: Colors.transparent,
|
shadowColor: Colors.transparent,
|
||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(10)),
|
borderRadius: BorderRadius.circular(10)),
|
||||||
|
|||||||
Reference in New Issue
Block a user