diff --git a/lib/layers/data/resources/custom_localization.dart b/lib/layers/data/resources/custom_localization.dart index 9f89a79..6deecc2 100644 --- a/lib/layers/data/resources/custom_localization.dart +++ b/lib/layers/data/resources/custom_localization.dart @@ -1,16 +1,13 @@ -import 'package:flutter/widgets.dart'; -import 'package:the_elder_scrolls_alchemy_client/app.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/data_resource.dart'; -import 'package:the_elder_scrolls_alchemy_client/main.dart'; class CustomLocalization { static getEffectName({ required String gameName, required String englishEffectName, - required BuildContext context, + required String languageCode, }) { String? localizedEffectName = - DataResource.getLocalizedMap()[gameName]!['effects']?[englishEffectName]?[TheElderScrollsAlchemyClientApp.getLocaleLanguageCode(context)]; + DataResource.getLocalizedMap()[gameName]!['effects']?[englishEffectName]?[languageCode]; return ((localizedEffectName != null) && (localizedEffectName != '')) ? localizedEffectName : englishEffectName; } @@ -18,10 +15,10 @@ class CustomLocalization { static getIngredientName({ required String gameName, required String englishIngredientName, - required BuildContext context, + required String languageCode, }) { - String? localizedIngredientName = DataResource.getLocalizedMap()[gameName]!['ingredients']?[englishIngredientName] - ?[TheElderScrollsAlchemyClientApp.getLocaleLanguageCode(context)]; + String? localizedIngredientName = + DataResource.getLocalizedMap()[gameName]!['ingredients']?[englishIngredientName]?[languageCode]; return ((localizedIngredientName != null) && (localizedIngredientName != '')) ? localizedIngredientName diff --git a/lib/layers/presentation/widgets/components/cards/effect/effect_micro.dart b/lib/layers/presentation/widgets/components/cards/effect/effect_micro.dart index 5486736..fd7bced 100644 --- a/lib/layers/presentation/widgets/components/cards/effect/effect_micro.dart +++ b/lib/layers/presentation/widgets/components/cards/effect/effect_micro.dart @@ -1,13 +1,11 @@ import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; - +import 'package:the_elder_scrolls_alchemy_client/layers/business_logic/models/effect.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/constant.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/custom_localization.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/state_management/app_state.dart'; -import 'package:the_elder_scrolls_alchemy_client/main.dart'; -import 'package:the_elder_scrolls_alchemy_client/layers/business_logic/models/effect.dart'; -import 'package:the_elder_scrolls_alchemy_client/router.dart'; + +import '../../../../../../app.dart'; class EffectCardMicro extends StatefulWidget { const EffectCardMicro({Key? key, required this.gameName, required this.effect, this.fontSize = 30.0}) @@ -28,7 +26,9 @@ class _EffectCardMicroState extends State { @override Widget build(BuildContext context) { final label = CustomLocalization.getEffectName( - gameName: widget.gameName, englishEffectName: widget.effect.name, context: context); + gameName: widget.gameName, + englishEffectName: widget.effect.name, + languageCode: TheElderScrollsAlchemyClientApp.getLocaleLanguageCode(context)); final effectColor = widget.effect.type == 'positive' ? Constant.positiveEffectBackgroundColor diff --git a/lib/layers/presentation/widgets/components/cards/effect_name_text.dart b/lib/layers/presentation/widgets/components/cards/effect_name_text.dart index 159d463..8a19aff 100644 --- a/lib/layers/presentation/widgets/components/cards/effect_name_text.dart +++ b/lib/layers/presentation/widgets/components/cards/effect_name_text.dart @@ -2,6 +2,8 @@ import 'package:flutter/material.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/business_logic/models/effect.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/custom_localization.dart'; +import '../../../../../app.dart'; + class EffectNameText extends StatelessWidget { const EffectNameText({Key? key, required this.gameName, required this.effect}) : super(key: key); final Effect effect; @@ -10,7 +12,10 @@ class EffectNameText extends StatelessWidget { @override Widget build(BuildContext context) { final nameText = SelectableText( - CustomLocalization.getEffectName(gameName: gameName, englishEffectName: effect.name, context: context), + CustomLocalization.getEffectName( + gameName: gameName, + englishEffectName: effect.name, + languageCode: TheElderScrollsAlchemyClientApp.getLocaleLanguageCode(context)), textAlign: TextAlign.left, style: const TextStyle( fontWeight: FontWeight.bold, diff --git a/lib/layers/presentation/widgets/components/cards/effect_small_image.dart b/lib/layers/presentation/widgets/components/cards/effect_small_image.dart index acbdb7d..23fa42e 100644 --- a/lib/layers/presentation/widgets/components/cards/effect_small_image.dart +++ b/lib/layers/presentation/widgets/components/cards/effect_small_image.dart @@ -3,6 +3,8 @@ import 'package:the_elder_scrolls_alchemy_client/layers/business_logic/models/ef import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/constant.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/custom_localization.dart'; +import '../../../../../app.dart'; + class EffectSmallImage extends StatelessWidget { const EffectSmallImage({Key? key, required this.gameName, required this.effect}) : super(key: key); final Effect effect; @@ -11,7 +13,10 @@ class EffectSmallImage extends StatelessWidget { @override Widget build(BuildContext context) { Text nameText = Text( - CustomLocalization.getEffectName(gameName: this.gameName, englishEffectName: this.effect.name, context: context), + CustomLocalization.getEffectName( + gameName: this.gameName, + englishEffectName: this.effect.name, + languageCode: TheElderScrollsAlchemyClientApp.getLocaleLanguageCode(context)), textAlign: TextAlign.center, overflow: TextOverflow.visible, style: const TextStyle( diff --git a/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_long.dart b/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_long.dart index c55104f..02e286e 100644 --- a/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_long.dart +++ b/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_long.dart @@ -6,6 +6,8 @@ import 'package:the_elder_scrolls_alchemy_client/layers/presentation/widgets/com import 'package:the_elder_scrolls_alchemy_client/layers/presentation/widgets/components/divider_text.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/presentation/widgets/components/lists/effects_by_ingredient.dart'; +import '../../../../../../app.dart'; + class IngredientCardLong extends StatefulWidget { const IngredientCardLong({Key? key, required this.gameName, required this.ingredient}) : super(key: key); final Ingredient ingredient; @@ -20,7 +22,9 @@ class _IngredientCardLongState extends State { Widget build(BuildContext context) { SelectableText nameText = SelectableText( CustomLocalization.getIngredientName( - gameName: widget.gameName, englishIngredientName: widget.ingredient.name, context: context), + gameName: widget.gameName, + englishIngredientName: widget.ingredient.name, + languageCode: TheElderScrollsAlchemyClientApp.getLocaleLanguageCode(context)), textAlign: TextAlign.left, style: const TextStyle( overflow: TextOverflow.fade, diff --git a/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_micro.dart b/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_micro.dart index 72dc9ac..b24d9f9 100644 --- a/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_micro.dart +++ b/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_micro.dart @@ -1,12 +1,10 @@ import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; - +import 'package:the_elder_scrolls_alchemy_client/layers/business_logic/models/ingredient.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/custom_localization.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/state_management/app_state.dart'; -import 'package:the_elder_scrolls_alchemy_client/main.dart'; -import 'package:the_elder_scrolls_alchemy_client/layers/business_logic/models/ingredient.dart'; -import 'package:the_elder_scrolls_alchemy_client/router.dart'; + +import '../../../../../../app.dart'; class IngredientCardMicro extends StatefulWidget { const IngredientCardMicro({Key? key, required this.gameName, required this.ingredient}) : super(key: key); @@ -26,7 +24,9 @@ class _IngredientCardMicroState extends State { @override Widget build(BuildContext context) { final label = CustomLocalization.getIngredientName( - gameName: widget.gameName, englishIngredientName: widget.ingredient.name, context: context); + gameName: widget.gameName, + englishIngredientName: widget.ingredient.name, + languageCode: TheElderScrollsAlchemyClientApp.getLocaleLanguageCode(context)); final fontSize = 20.0; final text = Text( diff --git a/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_small.dart b/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_small.dart index 22ffde5..d8fbbea 100644 --- a/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_small.dart +++ b/lib/layers/presentation/widgets/components/cards/ingredient/ingredient_small.dart @@ -1,13 +1,11 @@ import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; - +import 'package:the_elder_scrolls_alchemy_client/layers/business_logic/models/ingredient.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/constant.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/custom_localization.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/state_management/app_state.dart'; -import 'package:the_elder_scrolls_alchemy_client/main.dart'; -import 'package:the_elder_scrolls_alchemy_client/layers/business_logic/models/ingredient.dart'; -import 'package:the_elder_scrolls_alchemy_client/router.dart'; + +import '../../../../../../app.dart'; class IngredientCardSmall extends StatefulWidget { const IngredientCardSmall({Key? key, required this.gameName, required this.ingredient}) : super(key: key); @@ -27,7 +25,9 @@ class _IngredientCardSmallState extends State { margin: const EdgeInsets.only(top: 8.0), child: Text( CustomLocalization.getIngredientName( - gameName: widget.gameName, englishIngredientName: widget.ingredient.name, context: context), + gameName: widget.gameName, + englishIngredientName: widget.ingredient.name, + languageCode: TheElderScrollsAlchemyClientApp.getLocaleLanguageCode(context)), textAlign: TextAlign.center, overflow: TextOverflow.visible, style: const TextStyle( diff --git a/lib/layers/presentation/widgets/components/lists/common_ingredients_by_column.dart b/lib/layers/presentation/widgets/components/lists/common_ingredients_by_column.dart index 269aa75..6eb8901 100644 --- a/lib/layers/presentation/widgets/components/lists/common_ingredients_by_column.dart +++ b/lib/layers/presentation/widgets/components/lists/common_ingredients_by_column.dart @@ -6,6 +6,8 @@ import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/effect_re import 'package:the_elder_scrolls_alchemy_client/layers/data/resources/ingredient_resource.dart'; import 'package:the_elder_scrolls_alchemy_client/layers/presentation/widgets/components/cards/ingredient/ingredient_micro.dart'; +import '../../../../../app.dart'; + class CommonIngredientsByColumn extends StatefulWidget { const CommonIngredientsByColumn({Key? key, required this.gameName, required this.ingredient}) : super(key: key); final Ingredient ingredient; @@ -79,7 +81,7 @@ class _CommonIngredientsByColumnState extends State { CustomLocalization.getEffectName( gameName: widget.gameName, englishEffectName: widget.ingredient.effectsNames[i], - context: context, + languageCode: TheElderScrollsAlchemyClientApp.getLocaleLanguageCode(context), ), style: TextStyle(color: Colors.grey), ), diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index 315c1d7..b19945c 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,7 +5,7 @@ import FlutterMacOS import Foundation -import path_provider_macos +import path_provider_foundation import shared_preferences_foundation import url_launcher_macos diff --git a/pubspec.lock b/pubspec.lock index efb89b2..a5dc61c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,26 +5,26 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: ae92f5d747aee634b87f89d9946000c2de774be1d6ac3e58268224348cd0101a + sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7" url: "https://pub.dev" source: hosted - version: "61.0.0" + version: "67.0.0" analyzer: dependency: transitive description: name: analyzer - sha256: ea3d8652bda62982addfd92fdc2d0214e5f82e43325104990d4f4c4a2a313562 + sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d" url: "https://pub.dev" source: hosted - version: "5.13.0" + version: "6.4.1" args: dependency: transitive description: name: args - sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 + sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.5.0" async: dependency: transitive description: @@ -37,18 +37,18 @@ packages: dependency: transitive description: name: bloc - sha256: "3820f15f502372d979121de1f6b97bfcf1630ebff8fe1d52fb2b0bfa49be5b49" + sha256: "106842ad6569f0b60297619e9e0b1885c2fb9bf84812935490e6c5275777804e" url: "https://pub.dev" source: hosted - version: "8.1.2" + version: "8.1.4" bloc_test: dependency: "direct dev" description: name: bloc_test - sha256: af0de1a1e16a7536e95dcd7491e0a6d6078e11d2d691988e862280b74f5c7968 + sha256: "165a6ec950d9252ebe36dc5335f2e6eb13055f33d56db0eeb7642768849b43d2" url: "https://pub.dev" source: hosted - version: "9.1.4" + version: "9.1.7" boolean_selector: dependency: transitive description: @@ -85,10 +85,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" convert: dependency: transitive description: @@ -101,10 +101,10 @@ packages: dependency: transitive description: name: coverage - sha256: "2fb815080e44a09b85e0f2ca8a820b15053982b2e714b59267719e8a9ff17097" + sha256: "3945034e86ea203af7a056d98e98e42a5518fff200d6e8e6647e1886b07e936e" url: "https://pub.dev" source: hosted - version: "1.6.3" + version: "1.8.0" crypto: dependency: transitive description: @@ -125,10 +125,10 @@ packages: dependency: "direct main" description: name: cupertino_icons - sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be + sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 url: "https://pub.dev" source: hosted - version: "1.0.5" + version: "1.0.8" diff_match_patch: dependency: transitive description: @@ -157,26 +157,26 @@ packages: dependency: transitive description: name: ffi - sha256: a38574032c5f1dd06c4aee541789906c12ccaab8ba01446e800d9c5b79c4a978 + sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "2.1.2" file: dependency: transitive description: name: file - sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted - version: "6.1.4" + version: "7.0.0" float_column: dependency: transitive description: name: float_column - sha256: "044ce6e13fd0e278d22aa42d2149b140664d9ec09aedcba54233071141fe4545" + sha256: "62f0bba2de502ea5fabab6adf6ce704e27bcc7931de1202477ca852f8855def9" url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "2.1.5" flutter: dependency: "direct main" description: flutter @@ -186,10 +186,10 @@ packages: dependency: "direct main" description: name: flutter_bloc - sha256: e74efb89ee6945bcbce74a5b3a5a3376b088e5f21f55c263fc38cbdc6237faae + sha256: f0ecf6e6eb955193ca60af2d5ca39565a86b8a142452c5b24d96fb477428f4d2 url: "https://pub.dev" source: hosted - version: "8.1.3" + version: "8.1.5" flutter_driver: dependency: transitive description: flutter @@ -199,10 +199,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c + sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "4.0.0" flutter_localizations: dependency: "direct main" description: flutter @@ -220,10 +220,10 @@ packages: dependency: "direct main" description: name: flutter_svg - sha256: "6ff9fa12892ae074092de2fa6a9938fb21dbabfdaa2ff57dc697ff912fc8d4b2" + sha256: "7b4ca6cf3304575fe9c8ec64813c8d02ee41d2afe60bcfe0678bcb5375d596a2" url: "https://pub.dev" source: hosted - version: "1.1.6" + version: "2.0.10+1" flutter_test: dependency: "direct dev" description: flutter @@ -238,15 +238,23 @@ packages: dependency: transitive description: name: frontend_server_client - sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612" + sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "4.0.0" fuchsia_remote_debug_protocol: dependency: transitive description: flutter source: sdk version: "0.0.0" + get_it: + dependency: "direct main" + description: + name: get_it + sha256: d85128a5dae4ea777324730dc65edd9c9f43155c109d5cc0a69cab74139fbac1 + url: "https://pub.dev" + source: hosted + version: "7.7.0" glob: dependency: transitive description: @@ -263,6 +271,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.15.4" + http: + dependency: transitive + description: + name: http + sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938" + url: "https://pub.dev" + source: hosted + version: "1.2.1" http_multi_server: dependency: transitive description: @@ -288,10 +304,10 @@ packages: dependency: "direct main" description: name: intl - sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf url: "https://pub.dev" source: hosted - version: "0.18.1" + version: "0.19.0" io: dependency: transitive description: @@ -304,18 +320,42 @@ packages: dependency: transitive description: name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf + url: "https://pub.dev" + source: hosted + version: "0.7.1" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + url: "https://pub.dev" + source: hosted + version: "10.0.4" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + url: "https://pub.dev" + source: hosted + version: "3.0.3" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted - version: "0.6.7" + version: "3.0.1" lints: dependency: transitive description: name: lints - sha256: "5cfd6509652ff5e7fe149b6df4859e687fca9048437857cb2e65c8d780f396e3" + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted - version: "2.0.0" + version: "4.0.0" logging: dependency: transitive description: @@ -328,42 +368,42 @@ packages: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.8.0" meta: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.12.0" mime: dependency: transitive description: name: mime - sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e + sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.0.5" mocktail: dependency: transitive description: name: mocktail - sha256: bac151b31e4ed78bd59ab89aa4c0928f297b1180186d5daf03734519e5f596c1 + sha256: c4b5007d91ca4f67256e720cb1b6d704e79a510183a12fa551021f652577dce6 url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.0.3" nested: dependency: transitive description: @@ -392,18 +432,10 @@ packages: dependency: transitive description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" - url: "https://pub.dev" - source: hosted - version: "1.8.3" - path_drawing: - dependency: transitive - description: - name: path_drawing - sha256: bbb1934c0cbb03091af082a6389ca2080345291ef07a5fa6d6e078ba8682f977 + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.9.0" path_parsing: dependency: transitive description: @@ -416,82 +448,74 @@ packages: dependency: "direct main" description: name: path_provider - sha256: "050e8e85e4b7fecdf2bb3682c1c64c4887a183720c802d323de8a5fd76d372dd" + sha256: c9e7d3a4cd1410877472158bee69963a4579f78b68c65a2b7d40d1a7a88bb161 url: "https://pub.dev" source: hosted - version: "2.0.11" + version: "2.1.3" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "4d5542667150f5b779ba411dd5dc0b674a85d1355e45bda2877e0e82f4ad08d8" + sha256: "9c96da072b421e98183f9ea7464898428e764bc0ce5567f27ec8693442e72514" url: "https://pub.dev" source: hosted - version: "2.0.20" - path_provider_ios: + version: "2.2.5" + path_provider_foundation: dependency: transitive description: - name: path_provider_ios - sha256: "03d639406f5343478352433f00d3c4394d52dac8df3d847869c5e2333e0bbce8" + name: path_provider_foundation + sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 url: "https://pub.dev" source: hosted - version: "2.0.11" + version: "2.4.0" path_provider_linux: dependency: transitive description: name: path_provider_linux - sha256: ab0987bf95bc591da42dffb38c77398fc43309f0b9b894dcc5d6f40c4b26c379 + sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 url: "https://pub.dev" source: hosted - version: "2.1.7" - path_provider_macos: - dependency: transitive - description: - name: path_provider_macos - sha256: "2a97e7fbb7ae9dcd0dfc1220a78e9ec3e71da691912e617e8715ff2a13086ae8" - url: "https://pub.dev" - source: hosted - version: "2.0.6" + version: "2.2.1" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface - sha256: f0abc8ebd7253741f05488b4813d936b4d07c6bae3e86148a09e342ee4b08e76 + sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" url: "https://pub.dev" source: hosted - version: "2.0.5" + version: "2.1.2" path_provider_windows: dependency: transitive description: name: path_provider_windows - sha256: bcabbe399d4042b8ee687e17548d5d3f527255253b4a639f5f8d2094a9c2b45c + sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170" url: "https://pub.dev" source: hosted - version: "2.1.3" + version: "2.2.1" petitparser: dependency: transitive description: name: petitparser - sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4" + sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27 url: "https://pub.dev" source: hosted - version: "5.1.0" + version: "6.0.2" platform: dependency: transitive description: name: platform - sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76" + sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "3.1.4" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface - sha256: dbf0f707c78beedc9200146ad3cb0ab4d5da13c246336987be6940f026500d3a + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted - version: "2.1.3" + version: "2.1.8" pool: dependency: transitive description: @@ -504,18 +528,18 @@ packages: dependency: transitive description: name: process - sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09" + sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32" url: "https://pub.dev" source: hosted - version: "4.2.4" + version: "5.0.2" provider: dependency: "direct main" description: name: provider - sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f + sha256: c8a055ee5ce3fd98d6fc872478b03823ffdb448699c6ebdbbc71d59b596fd48c url: "https://pub.dev" source: hosted - version: "6.0.5" + version: "6.1.2" pub_semver: dependency: transitive description: @@ -528,66 +552,66 @@ packages: dependency: "direct main" description: name: selectable - sha256: "5b319794582c9d5c2769d00f71d7e84be5c72879296bca2c66253f6eed070fdb" + sha256: "942b2b8fb68f093a8c9f5fefbecaeced88a16763f3298dfa4fcd48fba0e6be53" url: "https://pub.dev" source: hosted - version: "0.2.6" + version: "0.3.1" shared_preferences: dependency: "direct main" description: name: shared_preferences - sha256: "95688ad7fc320f8566f28e2ee91b6743c10b433ccc262f6469f3007f2aa62e78" + sha256: d3bbe5553a986e83980916ded2f0b435ef2e1893dfaa29d5a7a790d0eca12180 url: "https://pub.dev" source: hosted - version: "2.0.16" + version: "2.2.3" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - sha256: "8e251f3c986002b65fed6396bce81f379fb63c27317d49743cf289fd0fd1ab97" + sha256: "93d0ec9dd902d85f326068e6a899487d1f65ffcd5798721a95330b26c8131577" url: "https://pub.dev" source: hosted - version: "2.0.14" + version: "2.2.3" shared_preferences_foundation: dependency: transitive description: name: shared_preferences_foundation - sha256: f451880807c86a6d4591642c8250ee17197cabef8536f072d3c44013dca44e04 + sha256: "0a8a893bf4fd1152f93fec03a415d11c27c74454d96e2318a7ac38dd18683ab7" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.4.0" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux - sha256: fbc3cd6826896b66a5f576b025e4f344f780c84ea7f8203097a353370607a2c8 + sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.3.2" shared_preferences_platform_interface: dependency: transitive description: name: shared_preferences_platform_interface - sha256: da9431745ede5ece47bc26d5d73a9d3c6936ef6945c101a5aca46f62e52c1cf3 + sha256: "22e2ecac9419b4246d7c22bfbbda589e3acf5c0351137d87dd2939d984d37c3b" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.3.2" shared_preferences_web: dependency: transitive description: name: shared_preferences_web - sha256: a4b5bc37fe1b368bbc81f953197d55e12f49d0296e7e412dfe2d2d77d6929958 + sha256: "9aee1089b36bd2aafe06582b7d7817fd317ef05fc30e6ba14bff247d0933042a" url: "https://pub.dev" source: hosted - version: "2.0.4" + version: "2.3.0" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows - sha256: "07c274c2115d4d5e4280622abb09f0980e2c5b1fcdc98ae9f59a3bad5bfc1f26" + sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.3.2" shelf: dependency: transitive description: @@ -653,18 +677,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -693,26 +717,26 @@ packages: dependency: transitive description: name: test - sha256: "13b41f318e2a5751c3169137103b60c584297353d4b1761b66029bae6411fe46" + sha256: "7ee446762c2c50b3bd4ea96fe13ffac69919352bd3b4b17bac3f3465edc58073" url: "https://pub.dev" source: hosted - version: "1.24.3" + version: "1.25.2" test_api: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.7.0" test_core: dependency: transitive description: name: test_core - sha256: "99806e9e6d95c7b059b7a0fc08f07fc53fabe54a829497f0d9676299f1e8637e" + sha256: "2bc4b4ecddd75309300d8096f781c0e3280ca1ef85beda558d33fcbedc2eead4" url: "https://pub.dev" source: hosted - version: "0.5.3" + version: "0.6.0" typed_data: dependency: transitive description: @@ -741,66 +765,90 @@ packages: dependency: "direct main" description: name: url_launcher - sha256: "568176fc8ab5ac1d88ff0db8ff28659d103851670dda55e83b485664c2309299" + sha256: "21b704ce5fa560ea9f3b525b43601c678728ba46725bab9b01187b4831377ed3" url: "https://pub.dev" source: hosted - version: "6.1.6" + version: "6.3.0" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: "9e262cbec69233717d5198f4d0b0c4961fa027e3685ba425442c43c64f38bb9b" + sha256: ceb2625f0c24ade6ef6778d1de0b2e44f2db71fded235eb52295247feba8c5cf url: "https://pub.dev" source: hosted - version: "6.0.19" + version: "6.3.3" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: "6ba7dddee26c9fae27c9203c424631109d73c8fa26cfa7bc3e35e751cb87f62e" + sha256: "7068716403343f6ba4969b4173cbf3b84fc768042124bc2c011e5d782b24fe89" url: "https://pub.dev" source: hosted - version: "6.0.17" + version: "6.3.0" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: "360fa359ab06bcb4f7c5cd3123a2a9a4d3364d4575d27c4b33468bd4497dd094" + sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811 url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.1.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: a9b3ea9043eabfaadfa3fb89de67a11210d85569086d22b3854484beab8b3978 + sha256: "9a1a42d5d2d95400c795b2914c36fdcb525870c752569438e4ebb09a2b5d90de" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.2.0" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: "4eae912628763eb48fc214522e58e942fd16ce195407dbf45638239523c759a6" + sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.3.2" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "5669882643b96bb6d5786637cac727c6e918a790053b09245fd4513b8a07df2a" + sha256: "8d9e750d8c9338601e709cd0885f95825086bd8b642547f26bda435aade95d8a" url: "https://pub.dev" source: hosted - version: "2.0.13" + version: "2.3.1" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: e3c3b16d3104260c10eea3b0e34272aaa57921f83148b0619f74c2eced9b7ef1 + sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7 url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.1.1" + vector_graphics: + dependency: transitive + description: + name: vector_graphics + sha256: "32c3c684e02f9bc0afb0ae0aa653337a2fe022e8ab064bcd7ffda27a74e288e3" + url: "https://pub.dev" + source: hosted + version: "1.1.11+1" + vector_graphics_codec: + dependency: transitive + description: + name: vector_graphics_codec + sha256: c86987475f162fadff579e7320c7ddda04cd2fdeffbe1129227a85d9ac9e03da + url: "https://pub.dev" + source: hosted + version: "1.1.11+1" + vector_graphics_compiler: + dependency: transitive + description: + name: vector_graphics_compiler + sha256: "12faff3f73b1741a36ca7e31b292ddeb629af819ca9efe9953b70bd63fc8cd81" + url: "https://pub.dev" + source: hosted + version: "1.1.11+1" vector_math: dependency: transitive description: @@ -813,10 +861,10 @@ packages: dependency: transitive description: name: vm_service - sha256: c620a6f783fa22436da68e42db7ebbf18b8c44b9a46ab911f666ff09ffd9153f + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" url: "https://pub.dev" source: hosted - version: "11.7.1" + version: "14.2.1" watcher: dependency: transitive description: @@ -829,26 +877,26 @@ packages: dependency: transitive description: name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "0.5.1" web_socket_channel: dependency: transitive description: name: web_socket_channel - sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b + sha256: "58c6666b342a38816b2e7e50ed0f1e261959630becd4c879c4f26bfa14aa5a42" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.5" webdriver: dependency: transitive description: name: webdriver - sha256: "3c923e918918feeb90c4c9fdf1fe39220fa4c0e8e2c0fffaded174498ef86c49" + sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.3" webkit_inspection_protocol: dependency: transitive description: @@ -861,26 +909,26 @@ packages: dependency: transitive description: name: win32 - sha256: "1952a663c0e34fbde55916010d54bbb249bf5f2583113c497602f0ee01c6faa4" + sha256: a79dbe579cb51ecd6d30b17e0cae4e0ea15e2c0e66f69ad4198f22a6789e94f4 url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "5.5.1" xdg_directories: dependency: transitive description: name: xdg_directories - sha256: "11541eedefbcaec9de35aa82650b695297ce668662bbd6e3911a7fabdbde589f" + sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d url: "https://pub.dev" source: hosted - version: "0.2.0+2" + version: "1.0.4" xml: dependency: transitive description: name: xml - sha256: ac0e3f4bf00ba2708c33fbabbbe766300e509f8c82dbd4ab6525039813f7e2fb + sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226 url: "https://pub.dev" source: hosted - version: "6.1.0" + version: "6.5.0" yaml: dependency: transitive description: @@ -890,5 +938,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.1.0-185.0.dev <4.0.0" - flutter: ">=3.0.0" + dart: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" diff --git a/pubspec.yaml b/pubspec.yaml index 9e10fe4..6e972ba 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -37,15 +37,16 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 - selectable: ^0.2.6 + selectable: ^0.3.1 provider: ^6.0.5 flutter_localizations: sdk: flutter - intl: ^0.18.1 + intl: ^0.19.0 shared_preferences: - flutter_svg: ^1.1.6 + flutter_svg: ^2.0.10+1 flutter_simple_dependency_injection: ^2.0.0 flutter_bloc: ^8.1.3 + get_it: ^7.7.0 dev_dependencies: flutter_test: sdk: flutter @@ -56,7 +57,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^2.0.0 + flutter_lints: ^4.0.0 integration_test: sdk: flutter