diff --git a/Frontend/lib/mih_packages/about_mih/package_tools/mih_info.dart b/Frontend/lib/mih_packages/about_mih/package_tools/mih_info.dart index a7b2b586..19306b9e 100644 --- a/Frontend/lib/mih_packages/about_mih/package_tools/mih_info.dart +++ b/Frontend/lib/mih_packages/about_mih/package_tools/mih_info.dart @@ -625,6 +625,13 @@ class _MihInfoState extends State { fontSize: 30, ), ), + Text( + "MIH App Version: ${MzanziInnovationHub.of(context)!.theme.getLatestVersion()}", + style: const TextStyle( + fontWeight: FontWeight.normal, + fontSize: 15, + ), + ), const Padding( padding: EdgeInsets.symmetric(vertical: 10.0), child: Divider(), diff --git a/Frontend/lib/mih_theme/mih_theme.dart b/Frontend/lib/mih_theme/mih_theme.dart index 18b68801..8443245f 100644 --- a/Frontend/lib/mih_theme/mih_theme.dart +++ b/Frontend/lib/mih_theme/mih_theme.dart @@ -13,6 +13,7 @@ class MihTheme { late String loadingAssetText; late TargetPlatform platform; bool kIsWeb = const bool.fromEnvironment('dart.library.js_util'); + String latestVersion = "1.1.2"; // Options:- // f3f9d2 = Cream // f0f0c9 = cream2 @@ -104,6 +105,10 @@ class MihTheme { mode; } + String getLatestVersion() { + return latestVersion; + } + ThemeData getThemeData() { return getData(); }