diff --git a/ios/Podfile b/ios/Podfile index 5d30226..bea8b53 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '12.0' +platform :ios, '15.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/ios/Podfile.lock b/ios/Podfile.lock index db4b41d..c4d1417 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1,155 +1,153 @@ PODS: - device_info_plus (0.0.1): - Flutter - - Firebase/Analytics (10.25.0): + - Firebase/Analytics (11.6.0): - Firebase/Core - - Firebase/Core (10.25.0): + - Firebase/Core (11.6.0): - Firebase/CoreOnly - - FirebaseAnalytics (~> 10.25.0) - - Firebase/CoreOnly (10.25.0): - - FirebaseCore (= 10.25.0) - - Firebase/Crashlytics (10.25.0): + - FirebaseAnalytics (~> 11.6.0) + - Firebase/CoreOnly (11.6.0): + - FirebaseCore (~> 11.6.0) + - Firebase/Crashlytics (11.6.0): - Firebase/CoreOnly - - FirebaseCrashlytics (~> 10.25.0) - - Firebase/Database (10.25.0): + - FirebaseCrashlytics (~> 11.6.0) + - Firebase/Database (11.6.0): - Firebase/CoreOnly - - FirebaseDatabase (~> 10.25.0) - - firebase_analytics (10.8.7): - - Firebase/Analytics (= 10.25.0) + - FirebaseDatabase (~> 11.6.0) + - firebase_analytics (11.4.0): + - Firebase/Analytics (= 11.6.0) - firebase_core - Flutter - - firebase_core (2.32.0): - - Firebase/CoreOnly (= 10.25.0) + - firebase_core (3.10.0): + - Firebase/CoreOnly (= 11.6.0) - Flutter - - firebase_crashlytics (3.4.16): - - Firebase/Crashlytics (= 10.25.0) + - firebase_crashlytics (4.3.0): + - Firebase/Crashlytics (= 11.6.0) - firebase_core - Flutter - - firebase_database (10.5.7): - - Firebase/Database (= 10.25.0) + - firebase_database (11.3.0): + - Firebase/Database (= 11.6.0) - firebase_core - Flutter - - FirebaseAnalytics (10.25.0): - - FirebaseAnalytics/AdIdSupport (= 10.25.0) - - FirebaseCore (~> 10.0) - - FirebaseInstallations (~> 10.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.11) - - GoogleUtilities/MethodSwizzler (~> 7.11) - - GoogleUtilities/Network (~> 7.11) - - "GoogleUtilities/NSData+zlib (~> 7.11)" - - nanopb (< 2.30911.0, >= 2.30908.0) - - FirebaseAnalytics/AdIdSupport (10.25.0): - - FirebaseCore (~> 10.0) - - FirebaseInstallations (~> 10.0) - - GoogleAppMeasurement (= 10.25.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.11) - - GoogleUtilities/MethodSwizzler (~> 7.11) - - GoogleUtilities/Network (~> 7.11) - - "GoogleUtilities/NSData+zlib (~> 7.11)" - - nanopb (< 2.30911.0, >= 2.30908.0) - - FirebaseAppCheckInterop (10.29.0) - - FirebaseCore (10.25.0): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreExtension (10.29.0): - - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.29.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseCrashlytics (10.25.0): - - FirebaseCore (~> 10.5) - - FirebaseInstallations (~> 10.0) - - FirebaseRemoteConfigInterop (~> 10.23) - - FirebaseSessions (~> 10.5) - - GoogleDataTransport (~> 9.2) - - GoogleUtilities/Environment (~> 7.8) - - nanopb (< 2.30911.0, >= 2.30908.0) - - PromisesObjC (~> 2.1) - - FirebaseDatabase (10.25.0): - - FirebaseAppCheckInterop (~> 10.17) - - FirebaseCore (~> 10.0) - - FirebaseSharedSwift (~> 10.0) - - GoogleUtilities/UserDefaults (~> 7.13) + - FirebaseAnalytics (11.6.0): + - FirebaseAnalytics/AdIdSupport (= 11.6.0) + - FirebaseCore (~> 11.6.0) + - FirebaseInstallations (~> 11.0) + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/MethodSwizzler (~> 8.0) + - GoogleUtilities/Network (~> 8.0) + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - nanopb (~> 3.30910.0) + - FirebaseAnalytics/AdIdSupport (11.6.0): + - FirebaseCore (~> 11.6.0) + - FirebaseInstallations (~> 11.0) + - GoogleAppMeasurement (= 11.6.0) + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/MethodSwizzler (~> 8.0) + - GoogleUtilities/Network (~> 8.0) + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - nanopb (~> 3.30910.0) + - FirebaseAppCheckInterop (11.6.0) + - FirebaseCore (11.6.0): + - FirebaseCoreInternal (~> 11.6.0) + - GoogleUtilities/Environment (~> 8.0) + - GoogleUtilities/Logger (~> 8.0) + - FirebaseCoreExtension (11.6.0): + - FirebaseCore (~> 11.6.0) + - FirebaseCoreInternal (11.6.0): + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - FirebaseCrashlytics (11.6.0): + - FirebaseCore (~> 11.6.0) + - FirebaseInstallations (~> 11.0) + - FirebaseRemoteConfigInterop (~> 11.0) + - FirebaseSessions (~> 11.0) + - GoogleDataTransport (~> 10.0) + - GoogleUtilities/Environment (~> 8.0) + - nanopb (~> 3.30910.0) + - PromisesObjC (~> 2.4) + - FirebaseDatabase (11.6.0): + - FirebaseAppCheckInterop (~> 11.0) + - FirebaseCore (~> 11.6.0) + - FirebaseSharedSwift (~> 11.0) + - GoogleUtilities/UserDefaults (~> 8.0) - leveldb-library (~> 1.22) - - FirebaseInstallations (10.29.0): - - FirebaseCore (~> 10.0) - - GoogleUtilities/Environment (~> 7.8) - - GoogleUtilities/UserDefaults (~> 7.8) - - PromisesObjC (~> 2.1) - - FirebaseRemoteConfigInterop (10.29.0) - - FirebaseSessions (10.29.0): - - FirebaseCore (~> 10.5) - - FirebaseCoreExtension (~> 10.0) - - FirebaseInstallations (~> 10.0) - - GoogleDataTransport (~> 9.2) - - GoogleUtilities/Environment (~> 7.13) - - GoogleUtilities/UserDefaults (~> 7.13) - - nanopb (< 2.30911.0, >= 2.30908.0) + - FirebaseInstallations (11.6.0): + - FirebaseCore (~> 11.6.0) + - GoogleUtilities/Environment (~> 8.0) + - GoogleUtilities/UserDefaults (~> 8.0) + - PromisesObjC (~> 2.4) + - FirebaseRemoteConfigInterop (11.6.0) + - FirebaseSessions (11.6.0): + - FirebaseCore (~> 11.6.0) + - FirebaseCoreExtension (~> 11.6.0) + - FirebaseInstallations (~> 11.0) + - GoogleDataTransport (~> 10.0) + - GoogleUtilities/Environment (~> 8.0) + - GoogleUtilities/UserDefaults (~> 8.0) + - nanopb (~> 3.30910.0) - PromisesSwift (~> 2.1) - - FirebaseSharedSwift (10.29.0) + - FirebaseSharedSwift (11.6.0) - Flutter (1.0.0) - flutter_secure_storage (6.0.0): - Flutter - - GoogleAppMeasurement (10.25.0): - - GoogleAppMeasurement/AdIdSupport (= 10.25.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.11) - - GoogleUtilities/MethodSwizzler (~> 7.11) - - GoogleUtilities/Network (~> 7.11) - - "GoogleUtilities/NSData+zlib (~> 7.11)" - - nanopb (< 2.30911.0, >= 2.30908.0) - - GoogleAppMeasurement/AdIdSupport (10.25.0): - - GoogleAppMeasurement/WithoutAdIdSupport (= 10.25.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.11) - - GoogleUtilities/MethodSwizzler (~> 7.11) - - GoogleUtilities/Network (~> 7.11) - - "GoogleUtilities/NSData+zlib (~> 7.11)" - - nanopb (< 2.30911.0, >= 2.30908.0) - - GoogleAppMeasurement/WithoutAdIdSupport (10.25.0): - - GoogleUtilities/AppDelegateSwizzler (~> 7.11) - - GoogleUtilities/MethodSwizzler (~> 7.11) - - GoogleUtilities/Network (~> 7.11) - - "GoogleUtilities/NSData+zlib (~> 7.11)" - - nanopb (< 2.30911.0, >= 2.30908.0) - - GoogleDataTransport (9.4.1): - - GoogleUtilities/Environment (~> 7.7) - - nanopb (< 2.30911.0, >= 2.30908.0) - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/AppDelegateSwizzler (7.13.3): + - GoogleAppMeasurement (11.6.0): + - GoogleAppMeasurement/AdIdSupport (= 11.6.0) + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/MethodSwizzler (~> 8.0) + - GoogleUtilities/Network (~> 8.0) + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - nanopb (~> 3.30910.0) + - GoogleAppMeasurement/AdIdSupport (11.6.0): + - GoogleAppMeasurement/WithoutAdIdSupport (= 11.6.0) + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/MethodSwizzler (~> 8.0) + - GoogleUtilities/Network (~> 8.0) + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - nanopb (~> 3.30910.0) + - GoogleAppMeasurement/WithoutAdIdSupport (11.6.0): + - GoogleUtilities/AppDelegateSwizzler (~> 8.0) + - GoogleUtilities/MethodSwizzler (~> 8.0) + - GoogleUtilities/Network (~> 8.0) + - "GoogleUtilities/NSData+zlib (~> 8.0)" + - nanopb (~> 3.30910.0) + - GoogleDataTransport (10.1.0): + - nanopb (~> 3.30910.0) + - PromisesObjC (~> 2.4) + - GoogleUtilities/AppDelegateSwizzler (8.0.2): - GoogleUtilities/Environment - GoogleUtilities/Logger - GoogleUtilities/Network - GoogleUtilities/Privacy - - GoogleUtilities/Environment (7.13.3): + - GoogleUtilities/Environment (8.0.2): - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.3): + - GoogleUtilities/Logger (8.0.2): - GoogleUtilities/Environment - GoogleUtilities/Privacy - - GoogleUtilities/MethodSwizzler (7.13.3): + - GoogleUtilities/MethodSwizzler (8.0.2): - GoogleUtilities/Logger - GoogleUtilities/Privacy - - GoogleUtilities/Network (7.13.3): + - GoogleUtilities/Network (8.0.2): - GoogleUtilities/Logger - "GoogleUtilities/NSData+zlib" - GoogleUtilities/Privacy - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (7.13.3)": + - "GoogleUtilities/NSData+zlib (8.0.2)": - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.3) - - GoogleUtilities/Reachability (7.13.3): + - GoogleUtilities/Privacy (8.0.2) + - GoogleUtilities/Reachability (8.0.2): - GoogleUtilities/Logger - GoogleUtilities/Privacy - - GoogleUtilities/UserDefaults (7.13.3): + - GoogleUtilities/UserDefaults (8.0.2): - GoogleUtilities/Logger - GoogleUtilities/Privacy - image_picker_ios (0.0.1): - Flutter - - leveldb-library (1.22.5) - - nanopb (2.30910.0): - - nanopb/decode (= 2.30910.0) - - nanopb/encode (= 2.30910.0) - - nanopb/decode (2.30910.0) - - nanopb/encode (2.30910.0) + - leveldb-library (1.22.6) + - nanopb (3.30910.0): + - nanopb/decode (= 3.30910.0) + - nanopb/encode (= 3.30910.0) + - nanopb/decode (3.30910.0) + - nanopb/encode (3.30910.0) - onesignal_flutter (5.2.0): - Flutter - OneSignalXCFramework (= 5.2.0) @@ -291,42 +289,42 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/url_launcher_ios/ios" SPEC CHECKSUMS: - device_info_plus: 97af1d7e84681a90d0693e63169a5d50e0839a0d - Firebase: 0312a2352584f782ea56f66d91606891d4607f06 - firebase_analytics: 3a9263fedec72970e6bd30a7132bbdd386de2c14 - firebase_core: a626d00494efa398e7c54f25f1454a64c8abf197 - firebase_crashlytics: 0b7cb41f5fb3b6889d0fb408cfce3cc7a4247061 - firebase_database: 2713033e426b176d4fe5e7195f3d19aa1b549a91 - FirebaseAnalytics: ec00fe8b93b41dc6fe4a28784b8e51da0647a248 - FirebaseAppCheckInterop: 6a1757cfd4067d8e00fccd14fcc1b8fd78cfac07 - FirebaseCore: 7ec4d0484817f12c3373955bc87762d96842d483 - FirebaseCoreExtension: 705ca5b14bf71d2564a0ddc677df1fc86ffa600f - FirebaseCoreInternal: df84dd300b561c27d5571684f389bf60b0a5c934 - FirebaseCrashlytics: 4b96efb0ce73b38b2a85e8b8bd1bd8f63f09d015 - FirebaseDatabase: faa489a42f5f868d23a55dd442d6e2099348458e - FirebaseInstallations: 913cf60d0400ebd5d6b63a28b290372ab44590dd - FirebaseRemoteConfigInterop: 6efda51fb5e2f15b16585197e26eaa09574e8a4d - FirebaseSessions: dbd14adac65ce996228652c1fc3a3f576bdf3ecc - FirebaseSharedSwift: 20530f495084b8d840f78a100d8c5ee613375f6e + device_info_plus: bf2e3232933866d73fe290f2942f2156cdd10342 + Firebase: 374a441a91ead896215703a674d58cdb3e9d772b + firebase_analytics: 07bd7cfbac54bfcdccf2bb2530f9a65486f7ef3f + firebase_core: feb37e79f775c2bd08dd35e02d83678291317e10 + firebase_crashlytics: 609a5f6f4a2f5af9e40a68182e0c1be3ca2a02f6 + firebase_database: adc9efd0b70cdc8d1e6f3c9f6bb054a625c4f45d + FirebaseAnalytics: 7114c698cac995602e3b1b96663473e50d54d6e7 + FirebaseAppCheckInterop: 347aa09a805219a31249b58fc956888e9fcb314b + FirebaseCore: 48b0dd707581cf9c1a1220da68223fb0a562afaa + FirebaseCoreExtension: 2d77d6430c16cf43ca2b04608302ed02b3598361 + FirebaseCoreInternal: d98ab91e2d80a56d7b246856a8885443b302c0c2 + FirebaseCrashlytics: b21c665fb50138766480bce73ebdb1aa30f7f300 + FirebaseDatabase: ce3a83a39ab50559a85c5add54f6f285544433b8 + FirebaseInstallations: efc0946fc756e4d22d8113f7c761948120322e8c + FirebaseRemoteConfigInterop: e75e348953352a000331eb77caf01e424248e176 + FirebaseSessions: 9529d14180868e29a8da164b3a729c036204918b + FirebaseSharedSwift: a4e5dfca3e210633bb3a3dfb94176c019211948b Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be - GoogleAppMeasurement: 9abf64b682732fed36da827aa2a68f0221fd2356 - GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a - GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 + GoogleAppMeasurement: 6a9e6317b6a6d810ad03d4a66564ca6c4c5818a3 + GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7 + GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1 - leveldb-library: e8eadf9008a61f9e1dde3978c086d2b6d9b9dc28 - nanopb: 438bc412db1928dac798aa6fd75726007be04262 + leveldb-library: cc8b8f8e013647a295ad3f8cd2ddf49a6f19be19 + nanopb: fad817b59e0457d11a5dfbde799381cd727c1275 onesignal_flutter: 5ce68a29861960168e81101cb1bd685d264361de OneSignalXCFramework: bdf74fdc06888f9466dc21e826fe1549ed143095 path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2 PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851 - share_plus: 8875f4f2500512ea181eef553c3e27dba5135aad + share_plus: 8b6f8b3447e494cca5317c8c3073de39b3600d1f shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695 sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec url_launcher_ios: bbd758c6e7f9fd7b5b1d4cde34d2b95fcce5e812 -PODFILE CHECKSUM: 4243bd7f9184f79552dd731a7c9d5cad03bd2706 +PODFILE CHECKSUM: deba6d843ff3cf709e6e9051ce6601a587b24105 COCOAPODS: 1.16.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 40f2b75..6998924 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -547,6 +547,7 @@ INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Syncrow; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -739,6 +740,7 @@ INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Syncrow; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -769,6 +771,7 @@ INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Syncrow; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -856,6 +859,7 @@ INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Syncrow; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -959,6 +963,7 @@ INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Syncrow; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -1057,6 +1062,7 @@ INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Syncrow; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 0169fa9..caf886f 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -38,5 +38,10 @@ UIInterfaceOrientationPortrait + LSApplicationQueriesSchemes + + sms + tel + diff --git a/lib/features/dashboard/view/dashboard_view.dart b/lib/features/dashboard/view/dashboard_view.dart index 601552b..cb8e067 100644 --- a/lib/features/dashboard/view/dashboard_view.dart +++ b/lib/features/dashboard/view/dashboard_view.dart @@ -7,7 +7,7 @@ import 'package:syncrow_app/features/shared_widgets/create_unit.dart'; import 'package:syncrow_app/features/shared_widgets/text_widgets/title_medium.dart'; import 'package:syncrow_app/utils/resource_manager/strings_manager.dart'; -import 'widgets/energy_usage.dart'; +// import 'widgets/energy_usage.dart'; class DashboardView extends StatelessWidget { const DashboardView({super.key}); @@ -29,7 +29,7 @@ class DashboardView extends StatelessWidget { ), const LiveMonitorTab(), const SizedBox(height: 10), - const EnergyUsage(), + // const EnergyUsage(), Container( padding: const EdgeInsets.only(top: 20), constraints: const BoxConstraints( diff --git a/lib/features/dashboard/view/widgets/energy_usage.dart b/lib/features/dashboard/view/widgets/energy_usage.dart index 9c4dd1a..767dcfa 100644 --- a/lib/features/dashboard/view/widgets/energy_usage.dart +++ b/lib/features/dashboard/view/widgets/energy_usage.dart @@ -1,178 +1,178 @@ -import 'package:fl_chart/fl_chart.dart'; -import 'package:flutter/material.dart'; -import 'package:syncrow_app/features/dashboard/view/widgets/energy_usage_header.dart'; -import 'package:syncrow_app/features/shared_widgets/text_widgets/body_small.dart'; -import 'package:syncrow_app/utils/resource_manager/color_manager.dart'; +// import 'package:fl_chart/fl_chart.dart'; +// import 'package:flutter/material.dart'; +// import 'package:syncrow_app/features/dashboard/view/widgets/energy_usage_header.dart'; +// import 'package:syncrow_app/features/shared_widgets/text_widgets/body_small.dart'; +// import 'package:syncrow_app/utils/resource_manager/color_manager.dart'; -class EnergyUsage extends StatelessWidget { - const EnergyUsage({ - super.key, - }); +// class EnergyUsage extends StatelessWidget { +// const EnergyUsage({ +// super.key, +// }); - @override - Widget build(BuildContext context) { - return DecoratedBox( - decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.circular(15), - ), - child: Padding( - padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 10), - child: Column( - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const EnergyUsageHeader(), - ConstrainedBox( - constraints: const BoxConstraints( - maxHeight: 150, - minHeight: 150, - ), - child: LineChart( - LineChartData( - gridData: FlGridData( - show: true, - drawHorizontalLine: true, - horizontalInterval: 2, - drawVerticalLine: false, - getDrawingHorizontalLine: (value) { - return FlLine( - color: Colors.grey.withOpacity(.5), - strokeWidth: 1, - ); - }, - ), - titlesData: FlTitlesData( - show: true, - rightTitles: AxisTitles( - sideTitles: SideTitles( - showTitles: true, - interval: 1, - getTitlesWidget: leftTitleWidgets, - reservedSize: 25, - ), - ), - topTitles: const AxisTitles( - sideTitles: SideTitles(showTitles: false), - ), - bottomTitles: AxisTitles( - sideTitles: SideTitles( - showTitles: true, - reservedSize: 30, - interval: 12, - getTitlesWidget: (value, meta) { - switch (value.toInt()) { - case 0: - return SideTitleWidget( - axisSide: meta.axisSide, - child: const BodySmall(text: '1'), - ); +// @override +// Widget build(BuildContext context) { +// return DecoratedBox( +// decoration: BoxDecoration( +// color: Colors.white, +// borderRadius: BorderRadius.circular(15), +// ), +// child: Padding( +// padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 10), +// child: Column( +// mainAxisAlignment: MainAxisAlignment.start, +// crossAxisAlignment: CrossAxisAlignment.start, +// children: [ +// const EnergyUsageHeader(), +// ConstrainedBox( +// constraints: const BoxConstraints( +// maxHeight: 150, +// minHeight: 150, +// ), +// child: LineChart( +// LineChartData( +// gridData: FlGridData( +// show: true, +// drawHorizontalLine: true, +// horizontalInterval: 2, +// drawVerticalLine: false, +// getDrawingHorizontalLine: (value) { +// return FlLine( +// color: Colors.grey.withOpacity(.5), +// strokeWidth: 1, +// ); +// }, +// ), +// titlesData: FlTitlesData( +// show: true, +// rightTitles: AxisTitles( +// sideTitles: SideTitles( +// showTitles: true, +// interval: 1, +// getTitlesWidget: leftTitleWidgets, +// reservedSize: 25, +// ), +// ), +// topTitles: const AxisTitles( +// sideTitles: SideTitles(showTitles: false), +// ), +// bottomTitles: AxisTitles( +// sideTitles: SideTitles( +// showTitles: true, +// reservedSize: 30, +// interval: 12, +// getTitlesWidget: (value, meta) { +// switch (value.toInt()) { +// case 0: +// return SideTitleWidget( +// axisSide: meta.axisSide, +// child: const BodySmall(text: '1'), +// ); - case 11: - return SideTitleWidget( - axisSide: meta.axisSide, - child: const BodySmall(text: '28'), - ); - default: - return Container(); - } - }, - ), - ), - leftTitles: const AxisTitles( - sideTitles: SideTitles(showTitles: false), - ), - ), - minX: 0, - maxX: 11, - minY: 0, - maxY: 6, - lineBarsData: [ - LineChartBarData( - spots: const [ - FlSpot(0, 3), - FlSpot(2.6, 2), - FlSpot(4.9, 5), - FlSpot(6.8, 3.1), - FlSpot(8, 4), - FlSpot(9.5, 3), - FlSpot(11, 4), - ], - isCurved: true, - gradient: LinearGradient( - colors: [ - ColorsManager.primaryColor, - ColorsManager.primaryColor.withOpacity(0.3), - ], - ), - barWidth: 5, - isStrokeCapRound: true, - dotData: const FlDotData( - show: false, - ), - belowBarData: BarAreaData( - show: true, - gradient: LinearGradient( - colors: [ - ColorsManager.primaryColor.withOpacity(0.5), - ColorsManager.primaryColor.withOpacity(0.1), - ], - ), - ), - ), - ], - ), - ), - ) - ], - ), - ), - ); - } +// case 11: +// return SideTitleWidget( +// axisSide: meta.axisSide, +// child: const BodySmall(text: '28'), +// ); +// default: +// return Container(); +// } +// }, +// ), +// ), +// leftTitles: const AxisTitles( +// sideTitles: SideTitles(showTitles: false), +// ), +// ), +// minX: 0, +// maxX: 11, +// minY: 0, +// maxY: 6, +// lineBarsData: [ +// LineChartBarData( +// spots: const [ +// FlSpot(0, 3), +// FlSpot(2.6, 2), +// FlSpot(4.9, 5), +// FlSpot(6.8, 3.1), +// FlSpot(8, 4), +// FlSpot(9.5, 3), +// FlSpot(11, 4), +// ], +// isCurved: true, +// gradient: LinearGradient( +// colors: [ +// ColorsManager.primaryColor, +// ColorsManager.primaryColor.withOpacity(0.3), +// ], +// ), +// barWidth: 5, +// isStrokeCapRound: true, +// dotData: const FlDotData( +// show: false, +// ), +// belowBarData: BarAreaData( +// show: true, +// gradient: LinearGradient( +// colors: [ +// ColorsManager.primaryColor.withOpacity(0.5), +// ColorsManager.primaryColor.withOpacity(0.1), +// ], +// ), +// ), +// ), +// ], +// ), +// ), +// ) +// ], +// ), +// ), +// ); +// } - Widget leftTitleWidgets(double value, TitleMeta meta) { - String text; - switch (value.toInt()) { - case 1: - text = '1K'; - break; - case 3: - text = '3k'; - break; - case 5: - text = '5k'; - break; - default: - return Container(); - } +// Widget leftTitleWidgets(double value, TitleMeta meta) { +// String text; +// switch (value.toInt()) { +// case 1: +// text = '1K'; +// break; +// case 3: +// text = '3k'; +// break; +// case 5: +// text = '5k'; +// break; +// default: +// return Container(); +// } - return Center(child: BodySmall(text: text)); - } +// return Center(child: BodySmall(text: text)); +// } - Widget bottomTitleWidgets(double value, TitleMeta meta) { - // const style = TextStyle( - // fontWeight: FontWeight.bold, - // fontSize: 16, - // ); - // Widget text; - // switch (value.toInt()) { - // case 2: - // text = const Text('MAR', style: style); - // break; - // case 5: - // text = const Text('JUN', style: style); - // break; - // case 8: - // text = const Text('SEP', style: style); - // break; - // default: - // text = const Text('', style: style); - // break; - // } +// Widget bottomTitleWidgets(double value, TitleMeta meta) { +// // const style = TextStyle( +// // fontWeight: FontWeight.bold, +// // fontSize: 16, +// // ); +// // Widget text; +// // switch (value.toInt()) { +// // case 2: +// // text = const Text('MAR', style: style); +// // break; +// // case 5: +// // text = const Text('JUN', style: style); +// // break; +// // case 8: +// // text = const Text('SEP', style: style); +// // break; +// // default: +// // text = const Text('', style: style); +// // break; +// // } - return SideTitleWidget( - axisSide: meta.axisSide, - child: const BodySmall(text: 'Feb'), - ); - } -} +// return SideTitleWidget( +// axisSide: meta.axisSide, +// child: const BodySmall(text: 'Feb'), +// ); +// } +// } diff --git a/pubspec.lock b/pubspec.lock index 4b67f32..89bf578 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: _flutterfire_internals - sha256: "37a42d06068e2fe3deddb2da079a8c4d105f241225ba27b7122b37e9865fd8f7" + sha256: "27899c95f9e7ec06c8310e6e0eac967707714b9f1450c4a58fa00ca011a4a8ae" url: "https://pub.dev" source: hosted - version: "1.3.35" + version: "1.3.49" args: dependency: transitive description: @@ -93,10 +93,10 @@ packages: dependency: transitive description: name: cross_file - sha256: "55d7b444feb71301ef6b8838dbc1ae02e63dd48c8773f3810ff53bb1e2945b32" + sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" url: "https://pub.dev" source: hosted - version: "0.3.4+1" + version: "0.3.4+2" crypto: dependency: transitive description: @@ -125,26 +125,26 @@ packages: dependency: "direct main" description: name: day_picker - sha256: a0f73716d688b3643769db39e7626cae54026bec24c33a8ebf5a6f8c618a05f2 + sha256: "0f7b7e0078f8c7882d009bebabf3b9825acfe5ac0dbcc6ad0fd520bef3fc1047" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.0" device_info_plus: dependency: "direct main" description: name: device_info_plus - sha256: eead12d1a1ed83d8283ab4c2f3fca23ac4082f29f25f29dff0f758f57d06ec91 + sha256: "4fa68e53e26ab17b70ca39f072c285562cfc1589df5bb1e9295db90f6645f431" url: "https://pub.dev" source: hosted - version: "10.1.0" + version: "11.2.0" device_info_plus_platform_interface: dependency: transitive description: name: device_info_plus_platform_interface - sha256: d3b01d5868b50ae571cd1dc6e502fc94d956b665756180f7b16ead09e836fd64 + sha256: "0b04e02b30791224b31969eb1b50d723498f402971bff3630bca2ba839bd1ed2" url: "https://pub.dev" source: hosted - version: "7.0.0" + version: "7.0.2" dio: dependency: "direct main" description: @@ -157,10 +157,10 @@ packages: dependency: "direct main" description: name: equatable - sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2 + sha256: "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7" url: "https://pub.dev" source: hosted - version: "2.0.5" + version: "2.0.7" fake_async: dependency: transitive description: @@ -173,10 +173,10 @@ packages: dependency: transitive description: name: ffi - sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878" + sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.3" file: dependency: transitive description: @@ -221,90 +221,90 @@ packages: dependency: "direct main" description: name: firebase_analytics - sha256: c6220b23397f9302a42617227ee8fb1c5d718097a5351fcce53561d73fc10339 + sha256: "498c6cb8468e348a556709c745d92a52173ab3a9b906aa0593393f0787f201ea" url: "https://pub.dev" source: hosted - version: "10.8.7" + version: "11.4.0" firebase_analytics_platform_interface: dependency: transitive description: name: firebase_analytics_platform_interface - sha256: "7f1c02cdd93a5e0a561af2f551465ffb6abdd541dbd0c8a9b8628d9ae0a5d024" + sha256: ccbb350554e98afdb4b59852689292d194d31232a2647b5012a66622b3711df9 url: "https://pub.dev" source: hosted - version: "3.9.7" + version: "4.3.0" firebase_analytics_web: dependency: transitive description: name: firebase_analytics_web - sha256: ebb857c23f35fed52220b6c3271c12eeb6137de3930845223e3d0590b6fd0649 + sha256: "68e1f18fc16482c211c658e739c25f015b202a260d9ad8249c6d3d7963b8105f" url: "https://pub.dev" source: hosted - version: "0.5.5+19" + version: "0.5.10+6" firebase_core: dependency: "direct main" description: name: firebase_core - sha256: "26de145bb9688a90962faec6f838247377b0b0d32cc0abecd9a4e43525fc856c" + sha256: "0307c1fde82e2b8b97e0be2dab93612aff9a72f31ebe9bfac66ed8b37ef7c568" url: "https://pub.dev" source: hosted - version: "2.32.0" + version: "3.10.0" firebase_core_platform_interface: dependency: transitive description: name: firebase_core_platform_interface - sha256: c437ae5d17e6b5cc7981cf6fd458a5db4d12979905f9aafd1fea930428a9fe63 + sha256: d7253d255ff10f85cfd2adaba9ac17bae878fa3ba577462451163bd9f1d1f0bf url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "5.4.0" firebase_core_web: dependency: transitive description: name: firebase_core_web - sha256: "22fcb352744908224fc7be3caae254836099786acfe5df6e9fe901e9c2575a41" + sha256: fbc008cf390d909b823763064b63afefe9f02d8afdb13eb3f485b871afee956b url: "https://pub.dev" source: hosted - version: "2.17.1" + version: "2.19.0" firebase_crashlytics: dependency: "direct main" description: name: firebase_crashlytics - sha256: "0126fa101b74fb981796b3e6f47ccf7fc40237ec918327aaec7c0a06fd1bb4c1" + sha256: f6adb65fa3d6391a79f0e60833bb4cdc468ce0c318831c90057ee11e0909cd29 url: "https://pub.dev" source: hosted - version: "3.4.16" + version: "4.3.0" firebase_crashlytics_platform_interface: dependency: transitive description: name: firebase_crashlytics_platform_interface - sha256: cdfa0a20d66e1b32de542883c0ddf651ee9b66b12cebf73067e4d2cdc0865d17 + sha256: "6635166c22c6f75f634b8e77b70fcc43b24af4cfee28f975249dbdbd9769a702" url: "https://pub.dev" source: hosted - version: "3.6.23" + version: "3.8.0" firebase_database: dependency: "direct main" description: name: firebase_database - sha256: "3b9ca306d26ad243ccbc4c717ff6e8563a080ebe11ee77fa7349b419c894b42d" + sha256: af9e0b2e8a117d2324027a5632d64b003e710283a20c692e12ebcc439d22be5c url: "https://pub.dev" source: hosted - version: "10.5.7" + version: "11.3.0" firebase_database_platform_interface: dependency: transitive description: name: firebase_database_platform_interface - sha256: "5864cc362275465e9bd682b243f19419c9d78b861c2db820241eea596ae3b320" + sha256: "6f92dfdd773c40d7b04113ad9e9de66826cd8a9f6c939a3693943eba4adce234" url: "https://pub.dev" source: hosted - version: "0.2.5+35" + version: "0.2.6" firebase_database_web: dependency: transitive description: name: firebase_database_web - sha256: a6008395dd20e8b8dde0691b441c181a1216c3866f89f48dcb6889d34fd35905 + sha256: "6b863cc62cbd5d006d8e36d5407336115d3737cfe1d8574c6d8a3d035d0ed259" url: "https://pub.dev" source: hosted - version: "0.2.5+7" + version: "0.2.6+6" fixnum: dependency: transitive description: @@ -317,10 +317,10 @@ packages: dependency: "direct main" description: name: fl_chart - sha256: "94307bef3a324a0d329d3ab77b2f0c6e5ed739185ffc029ed28c0f9b019ea7ef" + sha256: "10ddaf334fe84d59333a12d153043e366f243e0bdfff2df0313e1e249f5bf926" url: "https://pub.dev" source: hosted - version: "0.69.0" + version: "0.70.1" flutter: dependency: "direct main" description: flutter @@ -362,10 +362,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: e2a421b7e59244faef694ba7b30562e489c2b489866e505074eb005cd7060db7 + sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "5.0.0" flutter_plugin_android_lifecycle: dependency: transitive description: @@ -444,10 +444,10 @@ packages: dependency: "direct main" description: name: get_it - sha256: e6017ce7fdeaf218dc51a100344d8cb70134b80e28b760f8bb23c242437bafd7 + sha256: f126a3e286b7f5b578bf436d5592968706c4c1de28a228b870ce375d9f743103 url: "https://pub.dev" source: hosted - version: "7.6.7" + version: "8.0.3" html: dependency: "direct main" description: @@ -460,10 +460,10 @@ packages: dependency: transitive description: name: http - sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938" + sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.2.2" http_parser: dependency: transitive description: @@ -492,10 +492,10 @@ packages: dependency: transitive description: name: image_picker_for_web - sha256: "5d6eb13048cd47b60dbf1a5495424dea226c5faf3950e20bf8120a58efb5b5f3" + sha256: "717eb042ab08c40767684327be06a5d8dbb341fe791d514e4b92c7bbe1b7bb83" url: "https://pub.dev" source: hosted - version: "3.0.4" + version: "3.0.6" image_picker_ios: dependency: transitive description: @@ -540,10 +540,10 @@ packages: dependency: "direct main" description: name: intl - sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf + sha256: "00f33b908655e606b86d2ade4710a231b802eec6f11e87e4ea3783fd72077a50" url: "https://pub.dev" source: hosted - version: "0.19.0" + version: "0.20.1" js: dependency: transitive description: @@ -580,10 +580,10 @@ packages: dependency: transitive description: name: lints - sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 + sha256: c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7 url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "5.1.1" matcher: dependency: transitive description: @@ -812,18 +812,18 @@ packages: dependency: "direct main" description: name: share_plus - sha256: ef3489a969683c4f3d0239010cc8b7a2a46543a8d139e111c06c558875083544 + sha256: "6327c3f233729374d0abaafd61f6846115b2a481b4feddd8534211dc10659400" url: "https://pub.dev" source: hosted - version: "9.0.0" + version: "10.1.3" share_plus_platform_interface: dependency: transitive description: name: share_plus_platform_interface - sha256: "0f9e4418835d1b2c3ae78fdb918251959106cefdbc4dd43526e182f80e82f6d4" + sha256: cc012a23fc2d479854e6c80150696c4a5f5bb62cb89af4de1c505cf78d0a5d0b url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "5.0.2" shared_preferences: dependency: "direct main" description: @@ -868,10 +868,10 @@ packages: dependency: transitive description: name: shared_preferences_web - sha256: "9aee1089b36bd2aafe06582b7d7817fd317ef05fc30e6ba14bff247d0933042a" + sha256: d762709c2bbe80626ecc819143013cc820fa49ca5e363620ee20a8b15a3e3daf url: "https://pub.dev" source: hosted - version: "2.3.0" + version: "2.2.1" shared_preferences_windows: dependency: transitive description: @@ -997,30 +997,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.2" - url_launcher: - dependency: "direct main" - description: - name: url_launcher - sha256: "0ecc004c62fd3ed36a2ffcbe0dd9700aee63bd7532d0b642a488b1ec310f492e" - url: "https://pub.dev" - source: hosted - version: "6.2.5" - url_launcher_android: - dependency: transitive - description: - name: url_launcher_android - sha256: d4ed0711849dd8e33eb2dd69c25db0d0d3fdc37e0a62e629fe32f57a22db2745 - url: "https://pub.dev" - source: hosted - version: "6.3.0" - url_launcher_ios: - dependency: transitive - description: - name: url_launcher_ios - sha256: "75bb6fe3f60070407704282a2d295630cab232991eb52542b18347a8a941df03" - url: "https://pub.dev" - source: hosted - version: "6.2.4" url_launcher_linux: dependency: transitive description: @@ -1029,38 +1005,30 @@ packages: url: "https://pub.dev" source: hosted version: "3.1.1" - url_launcher_macos: - dependency: transitive - description: - name: url_launcher_macos - sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234 - url: "https://pub.dev" - source: hosted - version: "3.1.0" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: a932c3a8082e118f80a475ce692fde89dc20fddb24c57360b96bc56f7035de1f + sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029" url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.3.2" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "8d9e750d8c9338601e709cd0885f95825086bd8b642547f26bda435aade95d8a" + sha256: "3ba963161bd0fe395917ba881d320b9c4f6dd3c4a233da62ab18a5025c85f1e9" url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.4.0" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7 + sha256: "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77" url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.1.4" uuid: dependency: "direct main" description: @@ -1113,18 +1081,18 @@ packages: dependency: transitive description: name: web - sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" + sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb url: "https://pub.dev" source: hosted - version: "0.5.1" + version: "1.1.0" win32: dependency: transitive description: name: win32 - sha256: "464f5674532865248444b4c3daca12bd9bf2d7c47f759ce2617986e7229494a8" + sha256: "154360849a56b7b67331c21f09a386562d88903f90a1099c5987afc1912e1f29" url: "https://pub.dev" source: hosted - version: "5.2.0" + version: "5.10.0" win32_registry: dependency: transitive description: @@ -1150,5 +1118,5 @@ packages: source: hosted version: "6.5.0" sdks: - dart: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + dart: ">=3.6.0 <4.0.0" + flutter: ">=3.27.0" diff --git a/pubspec.yaml b/pubspec.yaml index 7fec07c..2bd4fad 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,42 +15,42 @@ dependencies: cupertino_icons: ^1.0.6 dio: ^5.4.1 equatable: ^2.0.5 - firebase_analytics: ^10.8.7 - firebase_core: ^2.25.5 - firebase_crashlytics: ^3.4.16 + firebase_analytics: ^11.4.0 + firebase_core: ^3.10.0 + firebase_crashlytics: ^4.3.0 flutter: sdk: flutter flutter_animated_dialog: ^2.0.1 flutter_svg: ^2.0.10+1 sleek_circular_slider: ^2.0.1 - day_picker: 2.2.0 + day_picker: ^2.3.0 # Utility Packages flutter_secure_storage: ^9.0.0 flutter_dotenv: ^5.1.0 # noinspection YAMLSchemaValidation - intl: ^0.19.0 - get_it: ^7.6.7 - url_launcher: ^6.2.5 + intl: ^0.20.1 + get_it: ^8.0.3 + # url_launcher: ^6.3.1 # flutter_localization: ^0.2.0 flutter_bloc: ^8.1.4 html: ^0.15.4 onesignal_flutter: ^5.2.0 permission_handler: ^11.3.1 pin_code_fields: ^8.0.1 - share_plus: ^9.0.0 + share_plus: ^10.1.3 shared_preferences: ^2.2.2 smooth_page_indicator: ^1.1.0 uuid: ^4.4.0 time_picker_spinner: ^1.0.0 image_picker: ^1.1.2 - device_info_plus: ^10.1.0 - fl_chart: ^0.69.0 - firebase_database: ^10.5.7 + device_info_plus: ^11.2.0 + fl_chart: ^0.70.1 + firebase_database: ^11.3.0 percent_indicator: ^4.2.3 dev_dependencies: - flutter_lints: ^3.0.1 + flutter_lints: ^5.0.0 flutter_test: sdk: flutter