fix back item

This commit is contained in:
Valentin CZERYBA 2024-08-08 23:39:56 +02:00
parent c3937a3e30
commit e12962089c

View File

@ -14,6 +14,8 @@ import '../variable/globals.dart' as globals;
import '../classes/events.dart'; import '../classes/events.dart';
import 'ListItemMenu.dart';
void main() { void main() {
initializeDateFormatting("fr_FR", null).then((_) => (const MyApp())); initializeDateFormatting("fr_FR", null).then((_) => (const MyApp()));
} }
@ -186,7 +188,13 @@ class _ItemMenuState extends State<ItemMenu> with ShowErrorDialog {
title: Text("${eventName}"), title: Text("${eventName}"),
backgroundColor: Colors.blue, backgroundColor: Colors.blue,
foregroundColor: Colors.white, foregroundColor: Colors.white,
), leading: IconButton(
icon: Icon(Icons.arrow_back),
onPressed: () {
Navigator.push(
context, MaterialPageRoute(builder: (_) => ListItemMenu()));
},
)),
body: SingleChildScrollView( body: SingleChildScrollView(
child: Column( child: Column(
children: <Widget>[ children: <Widget>[