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

@@ -10,6 +10,7 @@ import 'package:geolocator/geolocator.dart'; // For getting the user's location
import '../classes/alert.dart'; // Assuming this contains your error dialog code.
import '../variable/globals.dart' as globals;
import '../classes/MyDrawer.dart';
void main() async {
await dotenv.load(fileName: ".env"); // Load .env file
@@ -375,6 +376,7 @@ class _MapboxPagesState extends State<MapboxPages> with ShowAlertDialog {
)
],
),
drawer: MyDrawer(),
body: Stack(
children: [
isLoading