feature/search-by-image #6

Merged
v4l3n71n merged 9 commits from feature/search-by-image into main 2024-07-27 16:30:27 +00:00
Showing only changes of commit ab297ffc77 - Show all commits

View File

@ -9,21 +9,13 @@ mixin ShowDescImageAdd<T extends StatefulWidget> on State<T> {
title: Text("Ajouter un evenement"),
content: Text("${name} n'a pas été trouvé. Voulez-vous l'ajouter ? "),
actions: [
ElevatedButton(
child: Text("Oui"),
style: ElevatedButton.styleFrom(
padding: EdgeInsets.symmetric(horizontal: 50, vertical: 20),
textStyle:
TextStyle(fontSize: 15, fontWeight: FontWeight.normal)),
TextButton(
child: Text("Annuler"),
onPressed: () {
Navigator.of(context).pop("Yes, Of course!"); // Return value
}),
ElevatedButton(
child: Text("Non"),
style: ElevatedButton.styleFrom(
padding: EdgeInsets.symmetric(horizontal: 50, vertical: 20),
textStyle:
TextStyle(fontSize: 15, fontWeight: FontWeight.normal)),
TextButton(
child: Text("Oui"),
onPressed: () {
Navigator.of(context).pop("Yes, Of course!"); // Return value
}),