add drawer to every page

This commit is contained in:
2025-01-10 21:06:41 +01:00
parent 54c95a230b
commit 524427a29f
9 changed files with 23 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ import 'UpdateEventImage.dart';
import 'dart:convert';
import '../variable/globals.dart' as globals;
import '../classes/MyDrawer.dart';
void main() {
runApp(MyApp());
@@ -158,6 +159,8 @@ class DisplayPictureScreenState extends State<DisplayPictureScreen>
appBar: AppBar(title: const Text('Display the Picture')),
// The image is stored as a file on the device. Use the `Image.file`
// constructor with the given path to display the image.
drawer: MyDrawer(),
body: Padding(
padding: const EdgeInsets.all(20.0),
child: Column(