add drawer

This commit is contained in:
2024-08-23 12:51:53 +02:00
parent 61b7a72a05
commit c289056ab1
7 changed files with 22 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ import 'package:file_picker/file_picker.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:patient_manager/components/mihAppBar.dart';
import 'package:patient_manager/components/mihAppDrawer.dart';
import 'package:patient_manager/components/mihLoadingCircle.dart';
import 'package:patient_manager/components/inputsAndButtons/mihDropdownInput.dart';
import 'package:patient_manager/components/popUpMessages/mihErrorMessage.dart';
@@ -20,7 +21,6 @@ import 'package:http/http.dart' as http2;
class ProfileBusinessUpdate extends StatefulWidget {
final BusinessArguments arguments;
//final AppUser signedInUser;
const ProfileBusinessUpdate({
super.key,
required this.arguments,
@@ -313,6 +313,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
Widget build(BuildContext context) {
return Scaffold(
appBar: const MIHAppBar(barTitle: "Business Profile"),
drawer: MIHAppDrawer(signedInUser: widget.arguments.signedInUser),
body: KeyboardListener(
focusNode: _focusNode,
autofocus: true,