add drawer to every page
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user