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