From 1f6d0414b00e45f9eaefd61fab8ce9299d7f26e4 Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Fri, 25 Jul 2025 10:11:53 +0200 Subject: [PATCH] add business type to profile --- .../package_tools/mih_business_details.dart | 13 +++++++++++++ .../package_tools/mih_business_details_view.dart | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details.dart b/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details.dart index 1a7c6c1c..f74ae51f 100644 --- a/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details.dart +++ b/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details.dart @@ -646,6 +646,19 @@ class _MihBusinessDetailsState extends State { ), ), ), + FittedBox( + child: Text( + widget.arguments.business!.type, + style: TextStyle( + fontSize: 20, + fontWeight: FontWeight.w600, + color: MzansiInnovationHub.of(context)! + .theme + .secondaryColor(), + ), + ), + ), + const SizedBox(height: 5), // FittedBox( // child: Text( // "Mission & Vision", diff --git a/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details_view.dart b/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details_view.dart index 7f6ee66b..9f45f030 100644 --- a/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details_view.dart +++ b/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details_view.dart @@ -132,6 +132,19 @@ class _MihBusinessDetailsViewState extends State { ), ), ), + FittedBox( + child: Text( + widget.business.type, + style: TextStyle( + fontSize: 20, + fontWeight: FontWeight.w600, + color: MzansiInnovationHub.of(context)! + .theme + .secondaryColor(), + ), + ), + ), + const SizedBox(height: 5), // FittedBox( // child: Text( // "Mission & Vision",