Change name of appbar file to mihAppbar and widget name to MIHAppBar
This commit is contained in:
parent
668cbb36c7
commit
f5ea3531fb
9 changed files with 16 additions and 119 deletions
|
|
@ -4,7 +4,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:patient_manager/components/mihAppDrawer.dart';
|
||||
import 'package:patient_manager/env/env.dart';
|
||||
import 'package:patient_manager/components/homeTileGrid.dart';
|
||||
import 'package:patient_manager/components/myAppBar.dart';
|
||||
import 'package:patient_manager/components/mihAppBar.dart';
|
||||
import 'package:patient_manager/main.dart';
|
||||
import 'package:patient_manager/objects/appUser.dart';
|
||||
import 'package:supertokens_flutter/supertokens.dart';
|
||||
|
|
@ -86,7 +86,7 @@ class _HomeState extends State<Home> {
|
|||
if (snapshot.connectionState == ConnectionState.done) {
|
||||
if (snapshot.hasData) {
|
||||
return Scaffold(
|
||||
appBar: const MyAppBar(barTitle: "Mzansi Innovation Hub"),
|
||||
appBar: const MIHAppBar(barTitle: "Mzansi Innovation Hub"),
|
||||
drawer: MIHAppDrawer(
|
||||
signedInUser: snapshot.data!,
|
||||
logo: logo,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import 'package:patient_manager/components/mybutton.dart';
|
|||
import 'package:patient_manager/env/env.dart';
|
||||
import 'package:patient_manager/main.dart';
|
||||
import 'package:patient_manager/objects/appUser.dart';
|
||||
import '../components/myAppBar.dart';
|
||||
import '../components/mihAppBar.dart';
|
||||
import 'package:supertokens_flutter/http.dart' as http;
|
||||
|
||||
class AddPatient extends StatefulWidget {
|
||||
|
|
@ -389,7 +389,7 @@ class _AddPatientState extends State<AddPatient> {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: const MyAppBar(barTitle: "Add Patient"),
|
||||
appBar: const MIHAppBar(barTitle: "Add Patient"),
|
||||
body: displayForm(),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import 'dart:convert';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:patient_manager/components/myAppBar.dart';
|
||||
import 'package:patient_manager/components/mihAppBar.dart';
|
||||
import 'package:patient_manager/components/myDropdownInput.dart';
|
||||
import 'package:patient_manager/components/myErrorMessage.dart';
|
||||
import 'package:patient_manager/components/mySuccessMessage.dart';
|
||||
|
|
@ -571,7 +571,7 @@ class _EditPatientState extends State<EditPatient> {
|
|||
});
|
||||
|
||||
return Scaffold(
|
||||
appBar: const MyAppBar(barTitle: "Edit Patient"),
|
||||
appBar: const MIHAppBar(barTitle: "Edit Patient"),
|
||||
body: displayForm(),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import 'dart:convert';
|
|||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:patient_manager/components/buildPatientList.dart';
|
||||
import 'package:patient_manager/components/myAppBar.dart';
|
||||
import 'package:patient_manager/components/mihAppBar.dart';
|
||||
import 'package:supertokens_flutter/http.dart' as http;
|
||||
import 'package:patient_manager/components/mySearchInput.dart';
|
||||
import 'package:patient_manager/env/env.dart';
|
||||
|
|
@ -237,7 +237,7 @@ class _PatientManagerState extends State<PatientManager> {
|
|||
final screenWidth = MediaQuery.of(context).size.width;
|
||||
final screenHeight = MediaQuery.of(context).size.height;
|
||||
return Scaffold(
|
||||
appBar: const MyAppBar(barTitle: "Patient Manager"),
|
||||
appBar: const MIHAppBar(barTitle: "Patient Manager"),
|
||||
// drawer: PatManAppDrawer(
|
||||
// userEmail: widget.userEmail,
|
||||
// logo: MzanziInnovationHub.of(context)!.theme.logoImage(),
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import 'dart:convert';
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:patient_manager/components/mihAppDrawer.dart';
|
||||
import 'package:patient_manager/components/patientDetails.dart';
|
||||
import 'package:patient_manager/components/myAppBar.dart';
|
||||
import 'package:patient_manager/components/mihAppBar.dart';
|
||||
import 'package:patient_manager/components/patientFiles.dart';
|
||||
import 'package:patient_manager/components/patientNotes.dart';
|
||||
import 'package:patient_manager/env/env.dart';
|
||||
|
|
@ -71,7 +71,7 @@ class _PatientViewState extends State<PatientView> {
|
|||
else if (snapshot.connectionState == ConnectionState.done) {
|
||||
if (snapshot.hasData) {
|
||||
return Scaffold(
|
||||
appBar: const MyAppBar(barTitle: "Patient View"),
|
||||
appBar: const MIHAppBar(barTitle: "Patient View"),
|
||||
drawer:
|
||||
MIHAppDrawer(signedInUser: widget.signedInUser, logo: logo),
|
||||
body: SingleChildScrollView(
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:patient_manager/components/myAppBar.dart';
|
||||
import 'package:patient_manager/components/mihAppBar.dart';
|
||||
import 'package:patient_manager/components/profileOfficeUpdate.dart';
|
||||
import 'package:patient_manager/components/profileUserUpdate.dart';
|
||||
import 'package:patient_manager/objects/appUser.dart';
|
||||
|
|
@ -38,7 +38,7 @@ class _ProfileUpdateState extends State<ProfileUpdate> {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: const MyAppBar(barTitle: "Update Profile"),
|
||||
appBar: const MIHAppBar(barTitle: "Update Profile"),
|
||||
body: Padding(
|
||||
padding: const EdgeInsets.all(15.0),
|
||||
child: Center(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue