Use Mih Color Green
This commit is contained in:
@@ -2,6 +2,7 @@ import 'dart:convert';
|
||||
|
||||
import 'package:flutter_speed_dial/flutter_speed_dial.dart';
|
||||
import 'package:mzansi_innovation_hub/main.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_alert_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_validation_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_button.dart';
|
||||
@@ -164,14 +165,12 @@ class _BuildEmployeeListState extends State<BuildEmployeeList> {
|
||||
color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
),
|
||||
label: "Delete Employee",
|
||||
labelBackgroundColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
labelBackgroundColor: MihColors.getGreenColor(context),
|
||||
labelStyle: TextStyle(
|
||||
color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
backgroundColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
backgroundColor: MihColors.getGreenColor(context),
|
||||
onTap: () {
|
||||
showDeleteWarning(index);
|
||||
},
|
||||
@@ -257,8 +256,7 @@ class _BuildEmployeeListState extends State<BuildEmployeeList> {
|
||||
MihAlertServices().formNotFilledCompletely(context);
|
||||
}
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Update",
|
||||
|
||||
@@ -105,8 +105,7 @@ class _MihAddBookmarkAlertState extends State<MihAddBookmarkAlert> {
|
||||
onPressed: () {
|
||||
addBookmark(widget.business.business_id);
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
child: Text(
|
||||
"Bookmark Business",
|
||||
style: TextStyle(
|
||||
|
||||
@@ -103,8 +103,7 @@ class _MihDeleteBookmarkAlertState extends State<MihDeleteBookmarkAlert> {
|
||||
onPressed: () async {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
child: Text(
|
||||
"Cancel",
|
||||
style: TextStyle(
|
||||
|
||||
@@ -134,8 +134,7 @@ class _MihReviewBusinessWindowState extends State<MihReviewBusinessWindow> {
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
child: Text(
|
||||
"Cancel",
|
||||
style: TextStyle(
|
||||
@@ -305,14 +304,12 @@ class _MihReviewBusinessWindowState extends State<MihReviewBusinessWindow> {
|
||||
color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
),
|
||||
label: "Delete Review",
|
||||
labelBackgroundColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
labelBackgroundColor: MihColors.getGreenColor(context),
|
||||
labelStyle: TextStyle(
|
||||
color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
backgroundColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
backgroundColor: MihColors.getGreenColor(context),
|
||||
onTap: () {
|
||||
showDeleteReviewAlert();
|
||||
},
|
||||
|
||||
@@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:mzansi_innovation_hub/main.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_package_window.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_pop_up_messages/mih_loading_circle.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_packages/mzansi_profile/business_profile/components/mih_business_info_card.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_alert_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_business_details_services.dart';
|
||||
@@ -779,8 +780,7 @@ class _MihBusinessDetailsState extends State<MihBusinessDetails> {
|
||||
// Connect with the user
|
||||
editBizProfileWindow(width);
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Edit Profile",
|
||||
@@ -811,13 +811,13 @@ class _MihBusinessDetailsState extends State<MihBusinessDetails> {
|
||||
// ),
|
||||
// label: "Edit Profile",
|
||||
// labelBackgroundColor:
|
||||
// MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
// MihColors.getGreenColor(context),
|
||||
// labelStyle: TextStyle(
|
||||
// color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
// fontWeight: FontWeight.bold,
|
||||
// ),
|
||||
// backgroundColor:
|
||||
// MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
// MihColors.getGreenColor(context),
|
||||
// onTap: () {
|
||||
// editBizProfileWindow(width);
|
||||
// },
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import 'package:file_picker/file_picker.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:mzansi_innovation_hub/main.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_alert_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_file_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_my_business_user_services.dart';
|
||||
@@ -359,8 +360,7 @@ class _MihMyBusinessUserState extends State<MihMyBusinessUser> {
|
||||
MihAlertServices().formNotFilledCompletely(context);
|
||||
}
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Update",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import 'package:mzansi_innovation_hub/main.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_package_window.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_alert_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_file_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_user_services.dart';
|
||||
@@ -367,8 +368,7 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
|
||||
MihAlertServices().formNotFilledCompletely(context);
|
||||
}
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Update",
|
||||
@@ -541,8 +541,7 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
|
||||
// Connect with the user
|
||||
editProfileWindow(width);
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
widget.arguments.signedInUser.username.isEmpty
|
||||
@@ -575,13 +574,13 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
|
||||
// ),
|
||||
// label: "Edit Profile",
|
||||
// labelBackgroundColor:
|
||||
// MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
// MihColors.getGreenColor(context),
|
||||
// labelStyle: TextStyle(
|
||||
// color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
|
||||
// fontWeight: FontWeight.bold,
|
||||
// ),
|
||||
// backgroundColor:
|
||||
// MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
// MihColors.getGreenColor(context),
|
||||
// onTap: () {
|
||||
// editProfileWindow(width);
|
||||
// },
|
||||
|
||||
@@ -175,7 +175,7 @@ class _MihPersonalProfileViewState extends State<MihPersonalProfileView> {
|
||||
// // Connect with the user
|
||||
// },
|
||||
// buttonColor:
|
||||
// MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
// MihColors.getGreenColor(context),
|
||||
// width: 300,
|
||||
// child: Text(
|
||||
// widget.user.username.isEmpty
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import 'package:mzansi_innovation_hub/main.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_services/mih_user_services.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_single_child_scroll.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_button.dart';
|
||||
@@ -82,8 +83,7 @@ class _MihPersonalSettingsState extends State<MihPersonalSettings> {
|
||||
onPressed: () {
|
||||
Navigator.pop(context);
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.successColor(),
|
||||
buttonColor: MihColors.getGreenColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Cancel",
|
||||
|
||||
Reference in New Issue
Block a user