showDialogWeebiNotOk static method
Implementation
static void showDialogWeebiNotOk(String message, BuildContext context) {
showDialog(
context: context,
builder: (BuildContext context) {
return AlertDialog(
icon:
const Icon(Icons.sentiment_very_dissatisfied, color: Colors.red),
title: Text(message),
actions: <Widget>[
TextButton(
child: const Text("Fermer"),
onPressed: () {
Navigator.of(context).pop();
},
),
],
);
},
);
}