diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index ed743d5..7266cd0 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"app_settings","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/app_settings-7.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_darwin","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/local_auth_darwin-1.6.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"app_settings","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/app_settings-7.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_plugin_android_lifecycle","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.31/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_android","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/local_auth_android-1.0.52/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"],"dev_dependency":false}],"macos":[{"name":"app_settings","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/app_settings-7.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_darwin","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/local_auth_darwin-1.6.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[],"windows":[{"name":"local_auth_windows","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/local_auth_windows-1.0.11/","native_build":true,"dependencies":[],"dev_dependency":false}],"web":[]},"dependencyGraph":[{"name":"app_settings","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"local_auth","dependencies":["local_auth_android","local_auth_darwin","local_auth_windows"]},{"name":"local_auth_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"local_auth_darwin","dependencies":[]},{"name":"local_auth_windows","dependencies":[]}],"date_created":"2026-05-15 14:10:43.594834","version":"3.41.9","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"app_settings","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/app_settings-7.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_darwin","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/local_auth_darwin-1.6.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"app_settings","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/app_settings-7.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_plugin_android_lifecycle","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.31/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_android","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/local_auth_android-1.0.52/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"],"dev_dependency":false}],"macos":[{"name":"app_settings","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/app_settings-7.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"local_auth_darwin","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/local_auth_darwin-1.6.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[],"windows":[{"name":"local_auth_windows","path":"/Users/yaso_meth/.pub-cache/hosted/pub.dev/local_auth_windows-1.0.11/","native_build":true,"dependencies":[],"dev_dependency":false}],"web":[]},"dependencyGraph":[{"name":"app_settings","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"local_auth","dependencies":["local_auth_android","local_auth_darwin","local_auth_windows"]},{"name":"local_auth_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"local_auth_darwin","dependencies":[]},{"name":"local_auth_windows","dependencies":[]}],"date_created":"2026-03-20 09:42:38.514309","version":"3.32.2","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 2aafee1..701b6f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,21 +2,9 @@ All notable changes to this project will be documented in this file. -## 0.0.6 - -* Fix null value error thrown in `MihPackageWindow` while in full screen mode. - -## 0.0.5 - -* Add new icons to MihIcons pt2. - -## 0.0.4 - -* Add new icons to MihIcons. - ## 0.0.3 -* Update Mih Color Red to a deeper red. +* Update Mih Color Red to a deeper red ## 0.0.2 diff --git a/README.md b/README.md index 8524aec..ada2c94 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This toolkit provides everything you need to maintain visual and functional cons ## Demo -MIH Package Demo +MIH Package Demo ## Getting started @@ -147,7 +147,7 @@ class _ExampleMihPackageState extends State { ), ), ), -]; + ]; } } ``` @@ -199,41 +199,3 @@ We strive to respond to issues and pull requests in a timely manner. While this If you would like to support the MIH development team directly, please feel free to contribute to the [MIH Project via DonaHub](https://donahub.co.za/campaigns/mih-project) Thank you for using the MIH Package Toolkit! - -### Attributions -| Icon | Link | -| :--- | :--- | -| access | https://www.flaticon.com/free-icon/access-control_7426564?term=user+access&page=1&position=19&origin=search&related_id=7426564 | -| add business | https://www.flaticon.com/free-icon/business_13569850?term=company+add&page=1&position=25&origin=search&related_id=13569850 | -| add user | https://www.flaticon.com/free-icon/add-user_748137?term=add+user&page=1&position=1&origin=search&related_id=748137 | -| apple music | https://www.flaticon.com/free-icon/music_7566196?term=apple+music&related_id=7566196 | -| business | https://www.flaticon.com/free-icon/contractor_11813336?term=company+profile&page=1&position=2&origin=search&related_id=11813336 | -| calculator | https://www.flaticon.com/free-icon/calculator_2374409?term=calculator&page=1&position=20&origin=search&related_id=2374409 | -| calendar | https://www.flaticon.com/free-icon/calendar_2278049?term=calendar&page=1&position=5&origin=search&related_id=2278049 | -| discord | https://www.flaticon.com/free-icon/discord_5968898?term=discord&page=1&position=3&origin=search&related_id=5968898 | -| doctor | https://www.flaticon.com/free-icon/doctor_10215061?term=doctor&page=1&position=73&origin=search&related_id=10215061 | -| facebook | https://www.flaticon.com/free-icon/facebook_2175193?term=facebook&page=1&position=5&origin=search&related_id=2175193 | -| git | https://www.flaticon.com/free-icon/social_15455742?term=git&page=1&position=4&origin=search&related_id=15455742 | -| i dont know | https://www.flaticon.com/free-icon/i-dont-know_5359909?term=i+dont+know&page=1&position=7&origin=search&related_id=5359909 | -| info | https://www.flaticon.com/free-icon/info_151776?term=about&page=1&position=8&origin=search&related_id=151776 | -| instagram | https://www.flaticon.com/free-icon/instagram_1384031?term=instagram&page=1&position=5&origin=search&related_id=1384031 | -| LinkedIn | https://www.flaticon.com/free-icon/linkedin_3536569?term=linkedin&page=1&position=2&origin=search&related_id=3536569 | -| medium | https://www.flaticon.com/free-icon/medium_5968885?term=medium&page=1&position=7&origin=search&related_id=5968885 | -| messenger | https://www.flaticon.com/free-icon/chat_9333888?term=messenger&page=1&position=8&origin=search&related_id=9333888 | -| minesweeper | https://www.flaticon.com/free-icon/bomb_236454?term=bomb&page=1&position=25&origin=search&related_id=236454 | -| patient file | https://www.flaticon.com/free-icon/patient_2376100?term=medication&page=1&position=6&origin=search&related_id=2376100 | -| patient file | https://www.flaticon.com/free-icon/hospital_1233930?term=medical+snake&page=1&position=7&origin=search&related_id=1233930 | -| pinterest | https://www.flaticon.com/free-icon/pinterest_733622?term=pinterest&page=1&position=6&origin=search&related_id=733622 | -| reddit | https://www.flaticon.com/free-icon/reddit_3128263?term=reddit&page=1&position=5&origin=search&related_id=3128263 | -| snapchat | https://www.flaticon.com/free-icon/snapchat_733627?term=snapchat&page=1&position=6&origin=search&related_id=733627 | -| spotify | https://www.flaticon.com/free-icon/spotify-logo_87409?term=spotify&page=1&position=2&origin=search&related_id=87409 | -| Threads | https://www.flaticon.com/free-icon/threads_12105336?term=threads&page=1&position=1&origin=search&related_id=12105336 | -| TikTok | https://www.flaticon.com/free-icon/tik-tok_3046120?term=tiktok&page=1&position=1&origin=search&related_id=3046120 | -| Twitch | https://www.flaticon.com/free-icon/twitch_5968952?term=twitch&page=1&position=7&origin=search&related_id=5968952 | -| user | https://www.flaticon.com/free-icon/user_1077063?term=profile&page=1&position=6&origin=search&related_id=1077063 | -| Wallet | https://www.flaticon.com/free-icon/wallet-passes-app_3884407?term=wallet&page=1&position=21&origin=search&related_id=3884407 | -| weechat | https://www.flaticon.com/free-icon/wechat_732142?term=wechat&page=1&position=2&origin=search&related_id=732142 | -| whatsapp | https://www.flaticon.com/free-icon/whatsapp_2111774?term=whatsapp&page=1&position=8&origin=search&related_id=2111774 | -| x | https://www.flaticon.com/free-icon/twitter_5968958?term=x&page=1&position=5&origin=search&related_id=5968958 | -| YouTube | https://www.flaticon.com/free-icon/youtube_152810?term=youtube&page=1&position=9&origin=search&related_id=152810 | -| youtube music | https://www.flaticon.com/free-icon/music_15069232?term=youtube+music&page=1&position=4&origin=search&related_id=15069232 | diff --git a/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist index 391a902..7c56964 100644 --- a/example/ios/Flutter/AppFrameworkInfo.plist +++ b/example/ios/Flutter/AppFrameworkInfo.plist @@ -20,5 +20,7 @@ ???? CFBundleVersion 1.0 + MinimumOSVersion + 12.0 diff --git a/example/ios/Podfile b/example/ios/Podfile index 620e46e..e549ee2 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '13.0' +# platform :ios, '12.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 2c2ec8a..cc0929f 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -21,9 +21,9 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: app_settings: 0341ec6daa4f0c50f5a421bf0ad7c36084db6e90 - Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 + Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 local_auth_darwin: d2e8c53ef0c4f43c646462e3415432c4dab3ae19 -PODFILE CHECKSUM: 3c63482e143d1b91d2d2560aee9fb04ecc74ac7e +PODFILE CHECKSUM: 4305caec6b40dde0ae97be1573c53de1882a07e5 COCOAPODS: 1.16.2 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index d46c44c..812f48c 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -455,7 +455,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -585,7 +585,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -636,7 +636,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; diff --git a/example/ios/Runner/AppDelegate.swift b/example/ios/Runner/AppDelegate.swift index c30b367..6266644 100644 --- a/example/ios/Runner/AppDelegate.swift +++ b/example/ios/Runner/AppDelegate.swift @@ -2,15 +2,12 @@ import Flutter import UIKit @main -@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate { +@objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { + GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) } - - func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) { - GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry) - } } diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist index 3ef4d0d..5458fc4 100644 --- a/example/ios/Runner/Info.plist +++ b/example/ios/Runner/Info.plist @@ -2,8 +2,6 @@ - CADisableMinimumFrameDurationOnPhone - CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName @@ -26,29 +24,6 @@ $(FLUTTER_BUILD_NUMBER) LSRequiresIPhoneOS - UIApplicationSceneManifest - - UIApplicationSupportsMultipleScenes - - UISceneConfigurations - - UIWindowSceneSessionRoleApplication - - - UISceneClassName - UIWindowScene - UISceneConfigurationName - flutter - UISceneDelegateClassName - FlutterSceneDelegate - UISceneStoryboardFile - Main - - - - - UIApplicationSupportsIndirectInputEvents - UILaunchStoryboardName LaunchScreen UIMainStoryboardFile @@ -66,5 +41,9 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight + CADisableMinimumFrameDurationOnPhone + + UIApplicationSupportsIndirectInputEvents + diff --git a/example/lib/main.dart b/example/lib/main.dart index 9e9caa9..3727b55 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -97,25 +97,6 @@ class _ExampleMihPackageState extends State { fontWeight: FontWeight.bold, ), ), - Icon(MihIcons.link), - MihButton( - width: 300, - onPressed: () { - showDialog( - context: context, - builder: (context) => MihPackageWindow( - fullscreen: true, - windowTitle: "Full Screen Test", - onWindowTapClose: () { - Navigator.pop(context); - }, - windowBody: Placeholder(), - ), - ); - }, - buttonColor: MihColors.green(), - child: Text("Press"), - ), ], ), ), diff --git a/example/pubspec.lock b/example/pubspec.lock index 8080e11..a830758 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -29,10 +29,10 @@ packages: dependency: transitive description: name: characters - sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.4.0" clock: dependency: transitive description: @@ -111,26 +111,26 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" + sha256: "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0" url: "https://pub.dev" source: hosted - version: "11.0.2" + version: "10.0.9" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" + sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573 url: "https://pub.dev" source: hosted - version: "3.0.10" + version: "3.0.9" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.1" lints: dependency: transitive description: @@ -183,33 +183,33 @@ packages: dependency: transitive description: name: matcher - sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861 + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 url: "https://pub.dev" source: hosted - version: "0.12.19" + version: "0.12.17" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.13.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" + sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c url: "https://pub.dev" source: hosted - version: "1.17.0" + version: "1.16.0" mih_package_toolkit: dependency: "direct main" description: path: ".." relative: true source: path - version: "0.0.6" + version: "0.0.3" path: dependency: transitive description: @@ -275,18 +275,18 @@ packages: dependency: transitive description: name: test_api - sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a" + sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd url: "https://pub.dev" source: hosted - version: "0.7.10" + version: "0.7.4" vector_math: dependency: transitive description: name: vector_math - sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.1.4" vm_service: dependency: transitive description: @@ -296,5 +296,5 @@ packages: source: hosted version: "15.0.0" sdks: - dart: ">=3.9.0-0 <4.0.0" + dart: ">=3.8.1 <4.0.0" flutter: ">=3.29.0" diff --git a/lib/src/fonts/Mih_Icons.ttf b/lib/src/fonts/Mih_Icons.ttf index 65a7dfd..a908997 100644 Binary files a/lib/src/fonts/Mih_Icons.ttf and b/lib/src/fonts/Mih_Icons.ttf differ diff --git a/lib/src/fonts/icomoon_link.txt b/lib/src/fonts/icomoon_link.txt new file mode 100644 index 0000000..0e7d452 --- /dev/null +++ b/lib/src/fonts/icomoon_link.txt @@ -0,0 +1 @@ +/* Mih Icons - https://icomoon.io/*/ \ No newline at end of file diff --git a/lib/src/fonts/style.css b/lib/src/fonts/style.css index 1885eed..9b49c4f 100644 --- a/lib/src/fonts/style.css +++ b/lib/src/fonts/style.css @@ -1,19 +1,20 @@ @font-face { font-family: 'icomoon'; - src: url('fonts/icomoon.eot?zgpygv'); - src: url('fonts/icomoon.eot?zgpygv#iefix') format('embedded-opentype'), - url('fonts/icomoon.ttf?zgpygv') format('truetype'), - url('fonts/icomoon.woff?zgpygv') format('woff'), - url('fonts/icomoon.svg?zgpygv#icomoon') format('svg'); + src: url('fonts/icomoon.eot?8flwgj'); + src: url('fonts/icomoon.eot?8flwgj#iefix') format('embedded-opentype'), + url('fonts/icomoon.ttf?8flwgj') format('truetype'), + url('fonts/icomoon.woff?8flwgj') format('woff'), + url('fonts/icomoon.svg?8flwgj#icomoon') format('svg'); font-weight: normal; font-style: normal; font-display: block; } -[class^="icon-"], [class*=" icon-"] { +[class^="icon-"], +[class*=" icon-"] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'icomoon' !important; - speak: never; + /* speak: never; */ font-style: normal; font-weight: normal; font-variant: normal; @@ -25,174 +26,74 @@ -moz-osx-font-smoothing: grayscale; } -.icon-link:before { - content: "\e938"; -} -.icon-mih_access_controls:before { - content: "\e926"; -} -.icon-access_controls:before { - content: "\e937"; -} -.icon-add_business:before { +.icon-mine_sweeper:before { content: "\e900"; } -.icon-add_user:before { + +.icon-mzansi_directory:before { content: "\e901"; } -.icon-apple_music:before { + +.icon-personal_profile:before { content: "\e902"; } -.icon-business:before { + +.icon-about_mih:before { content: "\e903"; } -.icon-calculator:before { + +.icon-access_control:before { content: "\e904"; } -.icon-calendar:before { + +.icon-business_profile:before { content: "\e905"; } -.icon-discord:before { + +.icon-business_setup:before { content: "\e906"; } -.icon-doctor:before { + +.icon-calculator:before { content: "\e907"; } -.icon-facebook:before { + +.icon-calendar:before { content: "\e908"; } -.icon-git:before { + +.icon-i_dont_know:before { content: "\e909"; } -.icon-i_dont_know:before { + +.icon-mih_logo:before { content: "\e90a"; } -.icon-info:before { + +.icon-mih_ring:before { content: "\e90b"; } -.icon-instagram:before { + +.icon-mzansi_ai:before { content: "\e90c"; } -.icon-linkedin:before { + +.icon-mzansi_wallet:before { content: "\e90d"; } -.icon-loolio:before { + +.icon-notifications:before { content: "\e90e"; } -.icon-medium:before { + +.icon-patient_manager:before { content: "\e90f"; } -.icon-messenger:before { + +.icon-patient_profile:before { content: "\e910"; } -.icon-minesweeper:before { - content: "\e911"; -} -.icon-ollama:before { - content: "\e912"; -} -.icon-patient_file:before { - content: "\e913"; -} -.icon-patreon:before { - content: "\e914"; -} -.icon-pinterest:before { - content: "\e915"; -} -.icon-reddit:before { - content: "\e916"; -} -.icon-snapchat:before { - content: "\e917"; -} -.icon-spotify:before { - content: "\e918"; -} -.icon-substack:before { - content: "\e919"; -} -.icon-telegram:before { - content: "\e91a"; -} -.icon-threads:before { - content: "\e91b"; -} -.icon-tiktok:before { - content: "\e91c"; -} -.icon-twitch:before { - content: "\e91d"; -} -.icon-user:before { - content: "\e91e"; -} -.icon-wallet:before { - content: "\e91f"; -} -.icon-wechat:before { - content: "\e920"; -} -.icon-whatsapp:before { - content: "\e921"; -} -.icon-x:before { - content: "\e922"; -} -.icon-youtube_music:before { - content: "\e923"; -} -.icon-youtube:before { - content: "\e924"; -} -.icon-about_mih:before { - content: "\e925"; -} -.icon-business_profile:before { - content: "\e927"; -} -.icon-business_setup:before { - content: "\e928"; -} -.icon-mih_calculator:before { - content: "\e929"; -} -.icon-mih_calendar:before { - content: "\e92a"; -} -.icon-mih_i_dont_know:before { - content: "\e92b"; -} -.icon-mih_logo:before { - content: "\e92c"; -} -.icon-mih_minesweeper:before { - content: "\e92d"; -} -.icon-mih_ring:before { - content: "\e92e"; -} -.icon-mzansi_ai:before { - content: "\e92f"; -} -.icon-mzansi_directory:before { - content: "\e930"; -} -.icon-mzansi_wallet:before { - content: "\e931"; -} -.icon-notifications:before { - content: "\e932"; -} -.icon-patient_manager:before { - content: "\e933"; -} -.icon-patient_profile:before { - content: "\e934"; -} -.icon-personal_profile:before { - content: "\e935"; -} + .icon-profile_setup:before { - content: "\e936"; -} + content: "\e911"; +} \ No newline at end of file diff --git a/lib/src/mih_icons.dart b/lib/src/mih_icons.dart index 7ee4a15..4eed616 100644 --- a/lib/src/mih_icons.dart +++ b/lib/src/mih_icons.dart @@ -28,401 +28,128 @@ class MihIcons { /// The package name where the font asset is located. static const String _mihFontPkg = 'mih_package_toolkit'; - /// An icon representing a hyperlink or external link. - static const IconData link = IconData( - 0xe938, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing MIH-specific access controls. - static const IconData mihAccessControls = IconData( - 0xe926, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing general access controls. - static const IconData accessControls = IconData( - 0xe937, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing adding a business. - static const IconData addBusiness = IconData( + /// An icon representing a mine sweeper game or tool. + static const IconData mineSweeper = IconData( 0xe900, fontFamily: _mihFontFam, fontPackage: _mihFontPkg, ); - /// An icon representing adding a user. - static const IconData addUser = IconData( - 0xe901, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Apple Music. - static const IconData appleMusic = IconData( - 0xe902, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing a generic business entity. - static const IconData business = IconData( - 0xe903, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing a calculator. - static const IconData calculator = IconData( - 0xe904, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing a calendar. - static const IconData calendar = IconData( - 0xe905, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Discord. - static const IconData discord = IconData( - 0xe906, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing a doctor or medical professional. - static const IconData doctor = IconData( - 0xe907, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Facebook. - static const IconData facebook = IconData( - 0xe908, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Git/version control. - static const IconData git = IconData( - 0xe909, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing an "I don't know" or help state. - static const IconData iDontKnow = IconData( - 0xe90a, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing information. - static const IconData info = IconData( - 0xe90b, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Instagram. - static const IconData instagram = IconData( - 0xe90c, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing LinkedIn. - static const IconData linkedin = IconData( - 0xe90d, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Loolio. - static const IconData loolio = IconData( - 0xe90e, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Medium. - static const IconData medium = IconData( - 0xe90f, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Messenger. - static const IconData messenger = IconData( - 0xe910, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing a minesweeper game. - static const IconData minesweeper = IconData( - 0xe911, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Ollama. - static const IconData ollama = IconData( - 0xe912, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing a patient file or record. - static const IconData patientFile = IconData( - 0xe913, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Patreon. - static const IconData patreon = IconData( - 0xe914, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Pinterest. - static const IconData pinterest = IconData( - 0xe915, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Reddit. - static const IconData reddit = IconData( - 0xe916, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Snapchat. - static const IconData snapchat = IconData( - 0xe917, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Spotify. - static const IconData spotify = IconData( - 0xe918, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Substack. - static const IconData substack = IconData( - 0xe919, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Telegram. - static const IconData telegram = IconData( - 0xe91a, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Threads. - static const IconData threads = IconData( - 0xe91b, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing TikTok. - static const IconData tiktok = IconData( - 0xe91c, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing Twitch. - static const IconData twitch = IconData( - 0xe91d, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing a general user. - static const IconData user = IconData( - 0xe91e, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing a financial wallet. - static const IconData wallet = IconData( - 0xe91f, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing WeChat. - static const IconData wechat = IconData( - 0xe920, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing WhatsApp. - static const IconData whatsapp = IconData( - 0xe921, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing X (formerly Twitter). - static const IconData x = IconData( - 0xe922, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing YouTube Music. - static const IconData youtubeMusic = IconData( - 0xe923, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing YouTube. - static const IconData youtube = IconData( - 0xe924, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the "About MIH" information section. - static const IconData aboutMih = IconData( - 0xe925, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing a business profile. - static const IconData businessProfile = IconData( - 0xe927, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the business setup process. - static const IconData businessSetup = IconData( - 0xe928, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the MIH-specific calculator. - static const IconData mihCalculator = IconData( - 0xe929, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the MIH-specific calendar. - static const IconData mihCalendar = IconData( - 0xe92a, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the MIH-specific "don't know" state. - static const IconData mihIDontKnow = IconData( - 0xe92b, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the MIH official logo. - static const IconData mihLogo = IconData( - 0xe92c, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the MIH-specific minesweeper tool. - static const IconData mihMinesweeper = IconData( - 0xe92d, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the MIH ring branding element. - static const IconData mihRing = IconData( - 0xe92e, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the Mzansi AI assistant. - static const IconData mzansiAi = IconData( - 0xe92f, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - /// An icon representing the Mzansi Directory service. static const IconData mzansiDirectory = IconData( - 0xe930, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the Mzansi digital wallet. - static const IconData mzansiWallet = IconData( - 0xe931, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing notifications. - static const IconData notifications = IconData( - 0xe932, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing the patient manager system. - static const IconData patientManager = IconData( - 0xe933, - fontFamily: _mihFontFam, - fontPackage: _mihFontPkg, - ); - - /// An icon representing a patient profile. - static const IconData patientProfile = IconData( - 0xe934, + 0xe901, fontFamily: _mihFontFam, fontPackage: _mihFontPkg, ); /// An icon representing a personal user profile. static const IconData personalProfile = IconData( - 0xe935, + 0xe902, fontFamily: _mihFontFam, fontPackage: _mihFontPkg, ); - /// An icon representing the profile onboarding/setup process. + /// An icon for the "About MIH" information section. + static const IconData aboutMih = IconData( + 0xe903, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing security or access control settings. + static const IconData accessControl = IconData( + 0xe904, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing the Mzansi Business Profile. + static const IconData businessProfile = IconData( + 0xe905, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing the Mzansi AI assistant. + static const IconData businessSetup = IconData( + 0xe906, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing the Mzansi digital wallet. + static const IconData calculator = IconData( + 0xe907, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing a MIH calendar. + static const IconData calendar = IconData( + 0xe908, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing uncertainty or a "don't know" state. + static const IconData iDontKnow = IconData( + 0xe909, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing the MIH logo, used for branding and identification. + static const IconData mihLogo = IconData( + 0xe90a, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon reprosenting the the icons twisted circle, used for branding and identification. + static const IconData mihRing = IconData( + 0xe90b, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing the Mzansi AI assistant, used for AI-related features and interactions. + static const IconData mzansiAi = IconData( + 0xe90c, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing the Mzansi digital wallet, used for financial transactions and management. + static const IconData mzansiWallet = IconData( + 0xe90d, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing notifications, used for alerts and updates within the MIH ecosystem. + static const IconData notifications = IconData( + 0xe90e, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing the patient manager, used for healthcare-related features and patient management. + static const IconData patientManager = IconData( + 0xe90f, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing the patient profile, used for healthcare-related features and patient information management. + static const IconData patientProfile = IconData( + 0xe910, + fontFamily: _mihFontFam, + fontPackage: _mihFontPkg, + ); + + /// An icon representing the profile setup process, used for user onboarding and profile configuration. static const IconData profileSetup = IconData( - 0xe936, + 0xe911, fontFamily: _mihFontFam, fontPackage: _mihFontPkg, ); diff --git a/lib/src/mih_package_window.dart b/lib/src/mih_package_window.dart index 73c0f1c..8dafa6d 100644 --- a/lib/src/mih_package_window.dart +++ b/lib/src/mih_package_window.dart @@ -79,52 +79,37 @@ class MihPackageWindow extends StatefulWidget { } class _MihPackageWindowState extends State { - // late double windowTitleSize; - // late double horizontralWindowPadding; - // late double verticalWindowPadding; - // late double windowWidth; - // late double windowHeight; - // late double width; - // late double height; - // - // void checkScreenSize(Size screenSize) { - // // print("screen width: $width"); - // // print("screen height: $height"); - // if (screenSize.width > 800) { - // setState(() { - // windowTitleSize = 25; - // horizontralWindowPadding = width / 7; - // verticalWindowPadding = 10; - // windowWidth = width; - // windowHeight = height; - // }); - // } else { - // setState(() { - // windowTitleSize = 20; - // horizontralWindowPadding = 10; - // verticalWindowPadding = 10; - // windowWidth = width; - // windowHeight = height; - // }); - // } - // } - Map _getResponsiveDimensions(Size screenSize) { + late double windowTitleSize; + late double horizontralWindowPadding; + late double verticalWindowPadding; + late double windowWidth; + late double windowHeight; + late double width; + late double height; + + void checkScreenSize(Size screenSize) { + // print("screen width: $width"); + // print("screen height: $height"); if (screenSize.width > 800) { - return { - 'titleSize': 25.0, - 'horizontalPadding': screenSize.width / 7, - 'verticalPadding': 10.0, - }; + setState(() { + windowTitleSize = 25; + horizontralWindowPadding = width / 7; + verticalWindowPadding = 10; + windowWidth = width; + windowHeight = height; + }); } else { - return { - 'titleSize': 20.0, - 'horizontalPadding': 10.0, - 'verticalPadding': 10.0, - }; + setState(() { + windowTitleSize = 20; + horizontralWindowPadding = 10; + verticalWindowPadding = 10; + windowWidth = width; + windowHeight = height; + }); } } - Widget getHeader(double titleSize) { + Widget getHeader() { return Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.center, @@ -153,9 +138,10 @@ class _MihPackageWindowState extends State { overflow: TextOverflow.ellipsis, textAlign: TextAlign.center, style: TextStyle( - fontSize: titleSize, + fontSize: windowTitleSize, fontWeight: FontWeight.bold, - color: widget.foregroundColor ?? + color: + widget.foregroundColor ?? MihColors.secondary(darkMode: widget.darkMode), ), ), @@ -192,45 +178,45 @@ class _MihPackageWindowState extends State { @override Widget build(BuildContext context) { var size = MediaQuery.of(context).size; - final dimensions = _getResponsiveDimensions(size); - - final double titleSize = dimensions['titleSize']!; - final double horizontalPadding = dimensions['horizontalPadding']!; - final double verticalPadding = dimensions['verticalPadding']!; - - final bool isScrollbarOn = widget.scrollbarOn ?? false; + setState(() { + width = size.width; + height = size.height; + }); + checkScreenSize(size); return Dialog( insetPadding: EdgeInsets.symmetric( - horizontal: horizontalPadding, - vertical: verticalPadding, + horizontal: horizontralWindowPadding, + vertical: verticalWindowPadding, ), insetAnimationCurve: Easing.emphasizedDecelerate, insetAnimationDuration: Durations.short1, child: Material( elevation: 10, shadowColor: Colors.black, - color: widget.backgroundColor ?? + color: + widget.backgroundColor ?? MihColors.primary(darkMode: widget.darkMode), borderRadius: BorderRadius.circular(25.0), child: Container( decoration: BoxDecoration( borderRadius: BorderRadius.circular(25.0), - border: widget.borderOn == true - ? Border.all( - color: widget.foregroundColor ?? + border: widget.borderOn == null || !widget.borderOn! + ? null + : Border.all( + color: + widget.foregroundColor ?? MihColors.secondary(darkMode: widget.darkMode), width: 5.0, - ) - : null, + ), ), child: widget.fullscreen ? Column( mainAxisSize: MainAxisSize.max, children: [ - getHeader(titleSize), + getHeader(), const SizedBox(height: 5), Expanded( - child: !isScrollbarOn + child: widget.scrollbarOn != null || !widget.scrollbarOn! ? widget.windowBody : MihSingleChildScroll( scrollbarOn: true, @@ -242,19 +228,19 @@ class _MihPackageWindowState extends State { : Column( mainAxisSize: MainAxisSize.min, children: [ - getHeader(titleSize), + getHeader(), const SizedBox(height: 5), Flexible( child: Padding( padding: EdgeInsets.only( left: 25, right: 25, - bottom: verticalPadding, + bottom: verticalWindowPadding, ), child: ConstrainedBox( constraints: BoxConstraints( - maxHeight: size.height * 0.85, - maxWidth: size.width * 0.85, + maxHeight: windowHeight * 0.85, + maxWidth: windowWidth * 0.85, ), child: MihSingleChildScroll( scrollbarOn: true, diff --git a/pubspec.lock b/pubspec.lock index 06e1814..8d28ee9 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -29,10 +29,10 @@ packages: dependency: transitive description: name: characters - sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.4.0" clock: dependency: transitive description: @@ -103,26 +103,26 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" + sha256: "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0" url: "https://pub.dev" source: hosted - version: "11.0.2" + version: "10.0.9" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" + sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573 url: "https://pub.dev" source: hosted - version: "3.0.10" + version: "3.0.9" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.1" lints: dependency: transitive description: @@ -175,26 +175,26 @@ packages: dependency: transitive description: name: matcher - sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861 + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 url: "https://pub.dev" source: hosted - version: "0.12.19" + version: "0.12.17" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.13.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" + sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c url: "https://pub.dev" source: hosted - version: "1.17.0" + version: "1.16.0" path: dependency: transitive description: @@ -260,18 +260,18 @@ packages: dependency: transitive description: name: test_api - sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a" + sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd url: "https://pub.dev" source: hosted - version: "0.7.10" + version: "0.7.4" vector_math: dependency: transitive description: name: vector_math - sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.1.4" vm_service: dependency: transitive description: @@ -281,5 +281,5 @@ packages: source: hosted version: "15.0.0" sdks: - dart: ">=3.9.0-0 <4.0.0" + dart: ">=3.7.0 <4.0.0" flutter: ">=3.29.0" diff --git a/pubspec.yaml b/pubspec.yaml index a8a5b0f..efbb554 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: mih_package_toolkit description: "A comprehensive UI toolkit and utility library for building consistent MIH Packages within the MIH Project ecosystem." -version: 0.0.6 +version: 0.0.3 homepage: https://git.mzansi-innovation-hub.co.za/yaso_meth/mih_package_toolkit repository: https://git.mzansi-innovation-hub.co.za/yaso_meth/mih_package_toolkit issue_tracker: https://git.mzansi-innovation-hub.co.za/yaso_meth/mih_package_toolkit/issues