From 65213cecfd5c4a01763373567852d080eab748b1 Mon Sep 17 00:00:00 2001 From: Emon526 Date: Sat, 21 Oct 2023 04:10:12 +0600 Subject: [PATCH] fix: Bug fix and Dependency Update --- lib/main.dart | 2 +- lib/screens/selfcheck/self_check_steps.dart | 4 +- macos/Flutter/GeneratedPluginRegistrant.swift | 2 +- pubspec.lock | 152 +++++++++--------- pubspec.yaml | 36 ++--- .../flutter/generated_plugin_registrant.cc | 6 + windows/flutter/generated_plugins.cmake | 2 + 7 files changed, 103 insertions(+), 101 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index a0ec37a..fba0df6 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -37,7 +37,7 @@ void main() async { Permission.notification.request(); } }); - await ApiService.apirequest(); + ApiService.apirequest(); await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]); await NotificationService().initNotification(); runApp(const MyApp()); diff --git a/lib/screens/selfcheck/self_check_steps.dart b/lib/screens/selfcheck/self_check_steps.dart index 0f9ddcd..e09673c 100644 --- a/lib/screens/selfcheck/self_check_steps.dart +++ b/lib/screens/selfcheck/self_check_steps.dart @@ -57,7 +57,9 @@ class _SelfCheckStepsState extends State { // finishedStepTextColor: Colors.deepOrange, finishedStepBackgroundColor: Theme.of(context).colorScheme.secondary, finishedStepBorderColor: Theme.of(context).colorScheme.secondary, - defaultLineColor: Theme.of(context).primaryColor, + lineStyle: LineStyle( + defaultLineColor: Theme.of(context).primaryColor, + ), // activeStepIconColor: Colors.deepOrange, activeStepBorderColor: Theme.of(context).primaryColor, activeStepBackgroundColor: Theme.of(context).primaryColor, diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index 958a3cc..89c1d46 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -26,7 +26,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { FirebaseModelDownloaderPlugin.register(with: registry.registrar(forPlugin: "FirebaseModelDownloaderPlugin")) FLTFirebaseStoragePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseStoragePlugin")) FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin")) - FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin")) + FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) diff --git a/pubspec.lock b/pubspec.lock index 6e0ccf7..fd569f5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -13,10 +13,10 @@ packages: dependency: transitive description: name: _flutterfire_internals - sha256: "1a5e13736d59235ce0139621b4bbe29bc89839e202409081bc667eb3cd20674c" + sha256: "76c15c4167f820b74abcd8c6fc5e393e1ed5e1207a34e9b22953603e03b3ba6a" url: "https://pub.dev" source: hosted - version: "1.3.5" + version: "1.3.9" analyzer: dependency: transitive description: @@ -37,10 +37,10 @@ packages: dependency: transitive description: name: archive - sha256: "0c8368c9b3f0abbc193b9d6133649a614204b528982bebc7026372d61677ce3a" + sha256: "7e0d52067d05f2e0324268097ba723b71cb41ac8a6a2b24d1edf9c536b987b03" url: "https://pub.dev" source: hosted - version: "3.3.7" + version: "3.4.6" args: dependency: transitive description: @@ -141,26 +141,26 @@ packages: dependency: "direct main" description: name: cached_network_image - sha256: fd3d0dc1d451f9a252b32d95d3f0c3c487bc41a75eba2e6097cb0b9c71491b15 + sha256: f98972704692ba679db144261172a8e20feb145636c617af0eb4022132a6797f url: "https://pub.dev" source: hosted - version: "3.2.3" + version: "3.3.0" cached_network_image_platform_interface: dependency: transitive description: name: cached_network_image_platform_interface - sha256: bb2b8403b4ccdc60ef5f25c70dead1f3d32d24b9d6117cfc087f496b178594a7 + sha256: "56aa42a7a01e3c9db8456d9f3f999931f1e05535b5a424271e9a38cabf066613" url: "https://pub.dev" source: hosted - version: "2.0.0" + version: "3.0.0" cached_network_image_web: dependency: transitive description: name: cached_network_image_web - sha256: b8eb814ebfcb4dea049680f8c1ffb2df399e4d03bf7a352c775e26fa06e02fa0 + sha256: "759b9a9f8f6ccbb66c185df805fac107f05730b1dab9c64626d1008cca532257" url: "https://pub.dev" source: hosted - version: "1.0.2" + version: "1.1.0" carousel_slider: dependency: "direct main" description: @@ -189,10 +189,10 @@ packages: dependency: "direct main" description: name: chips_choice - sha256: "593a9bf48238abb057f81b1bc33557f28588126d3bd8b9deae3123cc697aa1bf" + sha256: ba1c649293cba4e5d827b7f55681390e6c9bb9a98b45cc9128591000fb103d02 url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "3.0.1" cli_util: dependency: transitive description: @@ -213,26 +213,26 @@ packages: dependency: "direct main" description: name: cloud_firestore - sha256: "0ff0baec167e308df192398dbd81ec13c1799635885c6aa6ed9ab8b5ed61f52c" + sha256: "019da47850fe2c86266a4b86e82e0d00dcb5bf0718f26fc70bf9df275ee16537" url: "https://pub.dev" source: hosted - version: "4.9.1" + version: "4.11.0" cloud_firestore_platform_interface: dependency: transitive description: name: cloud_firestore_platform_interface - sha256: "5749b81aea93afdce220e02d34369162010d210011054ac494b2c38c4e9ebeb7" + sha256: "7e08cd322ff98ddfdb6ab8a89b24f895c473992d674bfd3b36865037879baa3f" url: "https://pub.dev" source: hosted - version: "5.16.0" + version: "6.0.1" cloud_firestore_web: dependency: transitive description: name: cloud_firestore_web - sha256: fef99ad0599e983092adb1bb01f14a596dba601a7a8efaaffd7b2721d64e2c51 + sha256: bd2183128b67d66a6e672c50e47bc70393418f3bd669aad8ac321e88f027b2b5 url: "https://pub.dev" source: hosted - version: "3.7.0" + version: "3.8.1" code_builder: dependency: transitive description: @@ -325,10 +325,10 @@ packages: dependency: "direct main" description: name: easy_stepper - sha256: "4df1e4e5bb979bd4ede9e4162e47e68133eaada74885424e4f7cec3f144c4b3b" + sha256: "67df9090c8ae206e75e26fb8ff557defdb615785425c7d26ea663022bbf5236e" url: "https://pub.dev" source: hosted - version: "0.7.3" + version: "0.8.1" fake_async: dependency: transitive description: @@ -389,90 +389,90 @@ packages: dependency: "direct main" description: name: firebase_auth - sha256: "6d9be853426ab686d68076b8007ac29b2c31e7d549444a45b5c3fe1abc249fb0" + sha256: "46129e2733336ac77377174c3ca33a68cca2cd5848504aad63028aeb92afb7b2" url: "https://pub.dev" source: hosted - version: "4.9.0" + version: "4.11.1" firebase_auth_platform_interface: dependency: transitive description: name: firebase_auth_platform_interface - sha256: "2946cfdc17f925fa9771dd0ba3ce9dd2d019100a8685d0557c161f7786ea9b14" + sha256: b89936896b2cc02496b97e486793fd4bcf8c51beb99d6a7223c0eea2352d404e url: "https://pub.dev" source: hosted - version: "6.18.0" + version: "7.0.1" firebase_auth_web: dependency: transitive description: name: firebase_auth_web - sha256: d8972d754702a3f4881184706b8056e2837d0dae91613a43b988c960b8e0d988 + sha256: "88b7655c9394d723e121fd53f115d876c32260b8c8b499bdc3108341044a8306" url: "https://pub.dev" source: hosted - version: "5.8.0" + version: "5.8.4" firebase_core: dependency: "direct main" description: name: firebase_core - sha256: c78132175edda4bc532a71e01a32964e4b4fcf53de7853a422d96dac3725f389 + sha256: "57bba167105d2315d243a4524939406df688f38a5b6d7a4159382bbbe43cdd00" url: "https://pub.dev" source: hosted - version: "2.15.1" + version: "2.19.0" firebase_core_platform_interface: dependency: transitive description: name: firebase_core_platform_interface - sha256: b63e3be6c96ef5c33bdec1aab23c91eb00696f6452f0519401d640938c94cba2 + sha256: c437ae5d17e6b5cc7981cf6fd458a5db4d12979905f9aafd1fea930428a9fe63 url: "https://pub.dev" source: hosted - version: "4.8.0" + version: "5.0.0" firebase_core_web: dependency: transitive description: name: firebase_core_web - sha256: "4cf4d2161530332ddc3c562f19823fb897ff37a9a774090d28df99f47370e973" + sha256: "0631a2ec971dbc540275e2fa00c3a8a2676f0a7adbc3c197d6fba569db689d97" url: "https://pub.dev" source: hosted - version: "2.7.0" + version: "2.8.1" firebase_ml_model_downloader: dependency: "direct main" description: name: firebase_ml_model_downloader - sha256: "2c0349911a964f322ae7e3bce0cbbc71f358e670fc6f34aba63812db33bf26f3" + sha256: "289d89c1fdb70e7c9647783d7605cb733a5e0921d644115dfc1a482b87e3b126" url: "https://pub.dev" source: hosted - version: "0.2.3+5" + version: "0.2.4+1" firebase_ml_model_downloader_platform_interface: dependency: transitive description: name: firebase_ml_model_downloader_platform_interface - sha256: "52949b3d103356befbcb8b413c9b264493c6c9d6a75399b65b550eca2fb2621f" + sha256: "4199e01125eaa93677196b680b0280563884970d843036fe8962701f27df867a" url: "https://pub.dev" source: hosted - version: "0.1.4+5" + version: "0.1.4+9" firebase_storage: dependency: "direct main" description: name: firebase_storage - sha256: "11423ac63c1ec566069c80b1d01bc3c9e12a8f106bbc4ba77fa150afb88488a3" + sha256: c23dfab4fbdafd014b579e2bcc5b23ca69457d9b8625a64dffb669d098cff6fe url: "https://pub.dev" source: hosted - version: "11.2.6" + version: "11.3.1" firebase_storage_platform_interface: dependency: transitive description: name: firebase_storage_platform_interface - sha256: "2a8ee7b8a06ee5201f9a116db6972ba0020e3a314a5065acdcb616f4d6c99771" + sha256: "8650ba68840122f0c7e8a1a529d16580a5d00a614653d7167d7cd044c67fa245" url: "https://pub.dev" source: hosted - version: "4.4.5" + version: "4.4.9" firebase_storage_web: dependency: transitive description: name: firebase_storage_web - sha256: bd110daa180dc9c89abb490c8a330571e103291b348358d320f5b20a61cd46fc + sha256: "93ac56b2a9722a94e0d752a4aa2dd5ec8c4ceeb8ff07121bb6580198dbede199" url: "https://pub.dev" source: hosted - version: "3.6.6" + version: "3.6.10" fixnum: dependency: transitive description: @@ -494,14 +494,6 @@ packages: description: flutter source: sdk version: "0.0.0" - flutter_blurhash: - dependency: transitive - description: - name: flutter_blurhash - sha256: "05001537bd3fac7644fa6558b09ec8c0a3f2eba78c0765f88912882b1331a5c6" - url: "https://pub.dev" - source: hosted - version: "0.7.0" flutter_cache_manager: dependency: transitive description: @@ -570,18 +562,18 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 + sha256: ad76540d21c066228ee3f9d1dad64a9f7e46530e8bb7c85011a88bc1fd874bc5 url: "https://pub.dev" source: hosted - version: "2.0.3" + version: "3.0.0" flutter_local_notifications: dependency: "direct main" description: name: flutter_local_notifications - sha256: "3002092e5b8ce2f86c3361422e52e6db6776c23ee21e0b2f71b892bf4259ef04" + sha256: "6d11ea777496061e583623aaf31923f93a9409ef8fcaeeefdd6cd78bf4fe5bb3" url: "https://pub.dev" source: hosted - version: "15.1.1" + version: "16.1.0" flutter_local_notifications_linux: dependency: transitive description: @@ -607,10 +599,10 @@ packages: dependency: "direct main" description: name: flutter_native_splash - sha256: ecff62b3b893f2f665de7e4ad3de89f738941fcfcaaba8ee601e749efafa4698 + sha256: "5bf4c3e5e5a0426c1e2fc8ca3555a9e617e76369c3442e1dae8385c7767ba97a" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.3.4" flutter_plugin_android_lifecycle: dependency: transitive description: @@ -729,10 +721,10 @@ packages: dependency: transitive description: name: image - sha256: a72242c9a0ffb65d03de1b7113bc4e189686fc07c7147b8b41811d0dd0e0d9bf + sha256: "028f61960d56f26414eb616b48b04eb37d700cbe477b7fb09bf1d7ce57fd9271" url: "https://pub.dev" source: hosted - version: "4.0.17" + version: "4.1.3" image_picker: dependency: "direct main" description: @@ -809,10 +801,10 @@ packages: dependency: "direct main" description: name: introduction_screen - sha256: ef5a5479a8e06a84b9a7eff16c698b9b82f70cd1b6203b264bc3686f9bfb77e2 + sha256: "72d25ceb71471773783f72783608e17585af93d4bc6474df577fcfe9e7842852" url: "https://pub.dev" source: hosted - version: "3.1.11" + version: "3.1.12" io: dependency: transitive description: @@ -849,10 +841,10 @@ packages: dependency: transitive description: name: lints - sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" + sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "3.0.0" logging: dependency: transitive description: @@ -913,10 +905,10 @@ packages: dependency: transitive description: name: octo_image - sha256: "107f3ed1330006a3bea63615e81cf637433f5135a52466c7caa0e7152bca9143" + sha256: "45b40f99622f11901238e18d48f5f12ea36426d8eced9f4cbf58479c7aa2430d" url: "https://pub.dev" source: hosted - version: "1.0.2" + version: "2.0.0" package_config: dependency: transitive description: @@ -929,10 +921,10 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: "6ff267fcd9d48cb61c8df74a82680e8b82e940231bb5f68356672fde0397334a" + sha256: "7e76fad405b3e4016cd39d08f455a4eb5199723cf594cd1b8916d47140d93017" url: "https://pub.dev" source: hosted - version: "4.1.0" + version: "4.2.0" package_info_plus_platform_interface: dependency: transitive description: @@ -1009,18 +1001,18 @@ packages: dependency: "direct main" description: name: permission_handler - sha256: "63e5216aae014a72fe9579ccd027323395ce7a98271d9defa9d57320d001af81" + sha256: "284a66179cabdf942f838543e10413246f06424d960c92ba95c84439154fcac8" url: "https://pub.dev" source: hosted - version: "10.4.3" + version: "11.0.1" permission_handler_android: dependency: transitive description: name: permission_handler_android - sha256: d74e77a5ecd38649905db0a7d05ef16bed42ff263b9efb73ed794317c5764ec3 + sha256: f9fddd3b46109bd69ff3f9efa5006d2d309b7aec0f3c1c5637a60a2d5659e76e url: "https://pub.dev" source: hosted - version: "10.3.4" + version: "11.1.0" permission_handler_apple: dependency: transitive description: @@ -1033,10 +1025,10 @@ packages: dependency: transitive description: name: permission_handler_platform_interface - sha256: "7c6b1500385dd1d2ca61bb89e2488ca178e274a69144d26bbd65e33eae7c02a9" + sha256: "6760eb5ef34589224771010805bea6054ad28453906936f843a8cc4d3a55c4a4" url: "https://pub.dev" source: hosted - version: "3.11.3" + version: "3.12.0" permission_handler_windows: dependency: transitive description: @@ -1153,10 +1145,10 @@ packages: dependency: "direct main" description: name: shared_preferences - sha256: b7f41bad7e521d205998772545de63ff4e6c97714775902c199353f8bf1511ac + sha256: "81429e4481e1ccfb51ede496e916348668fd0921627779233bd24cc3ff6abd02" url: "https://pub.dev" source: hosted - version: "2.2.1" + version: "2.2.2" shared_preferences_android: dependency: transitive description: @@ -1294,26 +1286,26 @@ packages: dependency: transitive description: name: syncfusion_flutter_core - sha256: "2baf60cd245a21a7069f036bbca1ca222633d38f57748e133da97a305712627c" + sha256: a8e3d3ea369566bb45f454331c5863939632b6068d15b558fa384811f1f5aa51 url: "https://pub.dev" source: hosted - version: "22.2.11" + version: "23.1.41" syncfusion_flutter_datepicker: dependency: "direct main" description: name: syncfusion_flutter_datepicker - sha256: c8f5b1f08bd4a0e7be409337540b26a5ab702a72fa03532433f8169a19e8c85b + sha256: "0faff9098c24299429743e895e6365aed4849884c19b7ce110aaee21db7afacf" url: "https://pub.dev" source: hosted - version: "22.2.11" + version: "23.1.41" syncfusion_flutter_gauges: dependency: "direct main" description: name: syncfusion_flutter_gauges - sha256: c086f17e84452e809b12f9832763ec4cea347b9f6e1e662a0e8addabca6cc2e5 + sha256: "46953f14d4992c7e2899b6ca5d5a222d50591492331aaba7ace2ac967e1f259f" url: "https://pub.dev" source: hosted - version: "22.2.11" + version: "23.1.41" synchronized: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index b0ffe7e..7c499d1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -30,23 +30,23 @@ environment: # versions available, run `flutter pub outdated`. dependencies: better_open_file: ^3.6.4 - cached_network_image: ^3.2.3 + cached_network_image: ^3.3.0 carousel_slider: ^4.2.1 - chips_choice: ^3.0.0 - cloud_firestore: ^4.9.1 + chips_choice: ^3.0.1 + cloud_firestore: ^4.11.0 cupertino_icons: ^1.0.6 day_night_time_picker: ^1.3.0+1 - easy_stepper: ^0.7.3 - firebase_auth: ^4.9.0 - firebase_core: ^2.15.1 - firebase_ml_model_downloader: ^0.2.3+5 - firebase_storage: ^11.2.6 + easy_stepper: ^0.8.1 + firebase_auth: ^4.11.1 + firebase_core: ^2.19.0 + firebase_ml_model_downloader: ^0.2.4+1 + firebase_storage: ^11.3.1 flutter: sdk: flutter - flutter_local_notifications: ^15.1.1 + flutter_local_notifications: ^16.1.0 flutter_localizations: sdk: flutter - flutter_native_splash: ^2.3.2 + flutter_native_splash: ^2.3.4 flutter_rating_bar: ^4.0.1 flutter_spinkit: ^5.2.0 flutter_statusbarcolor_ns: ^0.5.0 @@ -54,27 +54,27 @@ dependencies: form_field_validator: ^1.1.0 http: ^1.1.0 image_picker: ^1.0.4 - intl: ^0.18.0 - introduction_screen: ^3.1.11 + intl: ^0.18.1 + introduction_screen: ^3.1.12 line_icons: ^2.0.3 - package_info_plus: ^4.1.0 + package_info_plus: ^4.2.0 path_provider: ^2.1.1 - permission_handler: ^10.4.3 + permission_handler: ^11.0.1 persistent_bottom_nav_bar: ^5.0.2 provider: ^6.0.5 random_avatar: ^0.0.8 readmore: ^2.2.0 - shared_preferences: ^2.2.1 + shared_preferences: ^2.2.2 shimmer: ^3.0.0 - syncfusion_flutter_datepicker: ^22.2.11 - syncfusion_flutter_gauges: ^22.2.11 + syncfusion_flutter_datepicker: ^23.1.41 + syncfusion_flutter_gauges: ^23.1.41 timezone: ^0.9.2 url_launcher: ^6.1.14 dev_dependencies: build_runner: ^2.4.6 flutter_launcher_icons: ^0.13.1 - flutter_lints: ^2.0.3 + flutter_lints: ^3.0.0 flutter_test: sdk: flutter flutter_launcher_icons: diff --git a/windows/flutter/generated_plugin_registrant.cc b/windows/flutter/generated_plugin_registrant.cc index 7ddc1a5..df2a17e 100644 --- a/windows/flutter/generated_plugin_registrant.cc +++ b/windows/flutter/generated_plugin_registrant.cc @@ -6,14 +6,20 @@ #include "generated_plugin_registrant.h" +#include #include +#include #include #include #include void RegisterPlugins(flutter::PluginRegistry* registry) { + CloudFirestorePluginCApiRegisterWithRegistrar( + registry->GetRegistrarForPlugin("CloudFirestorePluginCApi")); FileSelectorWindowsRegisterWithRegistrar( registry->GetRegistrarForPlugin("FileSelectorWindows")); + FirebaseAuthPluginCApiRegisterWithRegistrar( + registry->GetRegistrarForPlugin("FirebaseAuthPluginCApi")); FirebaseCorePluginCApiRegisterWithRegistrar( registry->GetRegistrarForPlugin("FirebaseCorePluginCApi")); PermissionHandlerWindowsPluginRegisterWithRegistrar( diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake index 8910784..a3d8d3f 100644 --- a/windows/flutter/generated_plugins.cmake +++ b/windows/flutter/generated_plugins.cmake @@ -3,7 +3,9 @@ # list(APPEND FLUTTER_PLUGIN_LIST + cloud_firestore file_selector_windows + firebase_auth firebase_core permission_handler_windows url_launcher_windows