Update actiopn button

This commit is contained in:
2024-09-30 15:19:09 +02:00
parent fdbcf1b119
commit 412e0e8f59
10 changed files with 12 additions and 14 deletions

View File

@@ -21,7 +21,7 @@ class MIHAbout extends StatefulWidget {
class _MIHAboutState extends State<MIHAbout> {
MIHAction getActionButton() {
return MIHAction(
icon: Icons.arrow_back,
icon: const Icon(Icons.arrow_back),
iconSize: 35,
onTap: () {
Navigator.of(context).pushNamedAndRemoveUntil('/', (route) => false);

View File

@@ -218,7 +218,7 @@ class _PatientAccessRequestState extends State<PatientAccessRequest> {
MIHAction getActionButton() {
return MIHAction(
icon: Icons.arrow_back,
icon: const Icon(Icons.arrow_back),
iconSize: 35,
onTap: () {
Navigator.of(context).pop();

View File

@@ -284,7 +284,7 @@ class _ManageBusinessProfileState extends State<ManageBusinessProfile> {
MIHAction getActionButton() {
return MIHAction(
icon: Icons.arrow_back,
icon: const Icon(Icons.arrow_back),
iconSize: 35,
onTap: () {
Navigator.of(context).pop();

View File

@@ -203,7 +203,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
MIHAction getActionButton() {
return MIHAction(
icon: Icons.arrow_back,
icon: const Icon(Icons.arrow_back),
iconSize: 35,
onTap: () {
Navigator.of(context).pop();

View File

@@ -286,7 +286,7 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
MIHAction getActionButton() {
return MIHAction(
icon: Icons.arrow_back,
icon: const Icon(Icons.arrow_back),
iconSize: 35,
onTap: () {
Navigator.of(context).pop();

View File

@@ -318,7 +318,7 @@ class _AddPatientState extends State<AddPatient> {
MIHAction getActionButton() {
return MIHAction(
icon: Icons.arrow_back,
icon: const Icon(Icons.arrow_back),
iconSize: 35,
onTap: () {
Navigator.of(context).pop();

View File

@@ -556,7 +556,7 @@ class _EditPatientState extends State<EditPatient> {
MIHAction getActionButton() {
return MIHAction(
icon: Icons.arrow_back,
icon: const Icon(Icons.arrow_back),
iconSize: 35,
onTap: () {
Navigator.of(context).pop();

View File

@@ -344,7 +344,7 @@ class _PatientManagerState extends State<PatientManager> {
MIHAction getActionButton() {
return MIHAction(
icon: Icons.arrow_back,
icon: const Icon(Icons.arrow_back),
iconSize: 35,
onTap: () {
Navigator.of(context).pop();

View File

@@ -106,7 +106,7 @@ class _PatientViewState extends State<PatientView> {
MIHAction getActionButton() {
return MIHAction(
icon: Icons.arrow_back,
icon: const Icon(Icons.arrow_back),
iconSize: 35,
onTap: () {
Navigator.of(context).pop();