rename files and widgets from my... to mih...
This commit is contained in:
@@ -5,12 +5,12 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:patient_manager/components/mihAppBar.dart';
|
||||
import 'package:patient_manager/components/mihLoadingCircle.dart';
|
||||
import 'package:patient_manager/components/myDropdownInput.dart';
|
||||
import 'package:patient_manager/components/myErrorMessage.dart';
|
||||
import 'package:patient_manager/components/myFileInput.dart';
|
||||
import 'package:patient_manager/components/mySuccessMessage.dart';
|
||||
import 'package:patient_manager/components/myTextInput.dart';
|
||||
import 'package:patient_manager/components/mybutton.dart';
|
||||
import 'package:patient_manager/components/mihDropdownInput.dart';
|
||||
import 'package:patient_manager/components/mihErrorMessage.dart';
|
||||
import 'package:patient_manager/components/mihFileInput.dart';
|
||||
import 'package:patient_manager/components/mihSuccessMessage.dart';
|
||||
import 'package:patient_manager/components/mihTextInput.dart';
|
||||
import 'package:patient_manager/components/mihButton.dart';
|
||||
import 'package:patient_manager/env/env.dart';
|
||||
import 'package:patient_manager/main.dart';
|
||||
import 'package:patient_manager/objects/arguments.dart';
|
||||
@@ -196,7 +196,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (context) {
|
||||
return const MyErrorMessage(errorType: "Internet Connection");
|
||||
return const MIHErrorMessage(errorType: "Internet Connection");
|
||||
},
|
||||
);
|
||||
}
|
||||
@@ -205,7 +205,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (context) {
|
||||
return MySuccessMessage(
|
||||
return MIHSuccessMessage(
|
||||
successType: "Success",
|
||||
successMessage: message,
|
||||
);
|
||||
@@ -270,21 +270,21 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 15.0),
|
||||
MyTextField(
|
||||
MIHTextField(
|
||||
controller: regController,
|
||||
hintText: "Registration No.",
|
||||
editable: true,
|
||||
required: true,
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
MyTextField(
|
||||
MIHTextField(
|
||||
controller: nameController,
|
||||
hintText: "Business Name",
|
||||
editable: true,
|
||||
required: true,
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
MyDropdownField(
|
||||
MIHDropdownField(
|
||||
controller: typeController,
|
||||
hintText: "Business Type",
|
||||
dropdownOptions: const ["Doctors Office", "Other"],
|
||||
@@ -292,7 +292,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
|
||||
editable: true,
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
MyFileField(
|
||||
MIHFileField(
|
||||
controller: logonameController,
|
||||
hintText: "Logo",
|
||||
editable: false,
|
||||
@@ -331,7 +331,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 15.0),
|
||||
MyDropdownField(
|
||||
MIHDropdownField(
|
||||
controller: titleController,
|
||||
hintText: "Title",
|
||||
dropdownOptions: const ["Doctor", "Assistant"],
|
||||
@@ -339,21 +339,21 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
|
||||
editable: true,
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
MyTextField(
|
||||
MIHTextField(
|
||||
controller: fnameController,
|
||||
hintText: "Name",
|
||||
editable: false,
|
||||
required: true,
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
MyTextField(
|
||||
MIHTextField(
|
||||
controller: lnameController,
|
||||
hintText: "Surname",
|
||||
editable: false,
|
||||
required: true,
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
MyFileField(
|
||||
MIHFileField(
|
||||
controller: signtureController,
|
||||
hintText: "Signature",
|
||||
editable: false,
|
||||
@@ -375,7 +375,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
|
||||
},
|
||||
),
|
||||
const SizedBox(height: 15.0),
|
||||
MyDropdownField(
|
||||
MIHDropdownField(
|
||||
controller: accessController,
|
||||
hintText: "Access",
|
||||
dropdownOptions: const ["Full", "Partial"],
|
||||
@@ -386,7 +386,7 @@ class _ProfileBusinessUpdateState extends State<ProfileBusinessUpdate> {
|
||||
SizedBox(
|
||||
width: 500.0,
|
||||
height: 100.0,
|
||||
child: MyButton(
|
||||
child: MIHButton(
|
||||
buttonText: "Add",
|
||||
buttonColor: MzanziInnovationHub.of(context)!
|
||||
.theme
|
||||
|
||||
Reference in New Issue
Block a user