From d3b8944d18bd0d34148dd8ec1f5647f1f567fa08 Mon Sep 17 00:00:00 2001 From: LuanRoger Date: Wed, 25 Jan 2023 07:52:38 -0300 Subject: [PATCH 1/3] fix: wrong volume's percentage in `MenageSection` --- .gitignore | 7 +- .../volume_info/volume_info_viewer.dart | 12 ++- pubspec.lock | 87 ++++++++++--------- pubspec.yaml | 2 +- 4 files changed, 61 insertions(+), 47 deletions(-) diff --git a/.gitignore b/.gitignore index 928f859..02d68c2 100644 --- a/.gitignore +++ b/.gitignore @@ -48,9 +48,12 @@ app.*.map.json # Python __pycache__/ -#Project releated +# Editors +.vscode/ + +# Project releated apps_historic.json profiles_data.json -#Certificates +# Certificates *.pfx \ No newline at end of file diff --git a/lib/shared/widgets/infos_provider/volume_info/volume_info_viewer.dart b/lib/shared/widgets/infos_provider/volume_info/volume_info_viewer.dart index 7a4f846..02c38a2 100644 --- a/lib/shared/widgets/infos_provider/volume_info/volume_info_viewer.dart +++ b/lib/shared/widgets/infos_provider/volume_info/volume_info_viewer.dart @@ -12,11 +12,15 @@ class VolumeInfoViwer extends StatelessWidget { String get formatedBytes => DiskSizeFormatter.formatBytes(diskInfo.sizeRemaining, 1); - double get percentageRemaining => - (diskInfo.sizeRemaining * 100) / diskInfo.size; + double get percentageRemaining { + final freeSpace = diskInfo.size - diskInfo.sizeRemaining; + return (freeSpace / diskInfo.size) * 100; + } @override Widget build(BuildContext context) { + final percentageRemainingCache = percentageRemaining; + return SizedBox( width: 250, child: Padding( @@ -46,7 +50,7 @@ class VolumeInfoViwer extends StatelessWidget { height: 100, width: 100, child: ProgressRing( - value: percentageRemaining, + value: percentageRemainingCache, activeColor: Provider.of(context, listen: false) .accentColor, @@ -56,7 +60,7 @@ class VolumeInfoViwer extends StatelessWidget { ), Center( child: Text( - percentageRemaining.toStringAsFixed(1) + "%", + percentageRemainingCache.toStringAsFixed(1) + "%", style: AppTextStyle.VOLUME_PERCENTAGE, )) ], diff --git a/pubspec.lock b/pubspec.lock index 630709a..e122f67 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,14 +7,14 @@ packages: name: archive url: "https://pub.dartlang.org" source: hosted - version: "3.3.1" + version: "3.3.5" args: dependency: transitive description: name: args url: "https://pub.dartlang.org" source: hosted - version: "2.3.1" + version: "2.3.2" async: dependency: transitive description: @@ -71,6 +71,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "4.1.0" + convert: + dependency: transitive + description: + name: convert + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.1" crypto: dependency: transitive description: @@ -98,21 +105,21 @@ packages: name: file url: "https://pub.dartlang.org" source: hosted - version: "6.1.2" + version: "6.1.4" file_picker: dependency: "direct main" description: name: file_picker url: "https://pub.dartlang.org" source: hosted - version: "5.2.4" + version: "5.2.5" fluent_ui: dependency: "direct main" description: name: fluent_ui url: "https://pub.dartlang.org" source: hosted - version: "4.1.2" + version: "4.1.5" flutter: dependency: "direct main" description: flutter @@ -136,7 +143,7 @@ packages: name: flutter_plugin_android_lifecycle url: "https://pub.dartlang.org" source: hosted - version: "2.0.6" + version: "2.0.7" flutter_svg: dependency: "direct main" description: @@ -167,7 +174,7 @@ packages: name: image url: "https://pub.dartlang.org" source: hosted - version: "3.2.0" + version: "3.3.0" intl: dependency: transitive description: @@ -265,14 +272,14 @@ packages: name: path_provider_android url: "https://pub.dartlang.org" source: hosted - version: "2.0.15" + version: "2.0.22" path_provider_ios: dependency: transitive description: name: path_provider_ios url: "https://pub.dartlang.org" source: hosted - version: "2.0.10" + version: "2.0.11" path_provider_linux: dependency: transitive description: @@ -286,14 +293,14 @@ packages: name: path_provider_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.6" + version: "2.0.7" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.4" + version: "2.0.5" path_provider_windows: dependency: transitive description: @@ -307,7 +314,7 @@ packages: name: petitparser url: "https://pub.dartlang.org" source: hosted - version: "5.0.0" + version: "5.1.0" platform: dependency: transitive description: @@ -321,7 +328,14 @@ packages: name: plugin_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.1.2" + version: "2.1.3" + pointycastle: + dependency: transitive + description: + name: pointycastle + url: "https://pub.dartlang.org" + source: hosted + version: "3.6.2" process: dependency: transitive description: @@ -349,14 +363,14 @@ packages: name: recase url: "https://pub.dartlang.org" source: hosted - version: "4.0.0" + version: "4.1.0" screen_retriever: dependency: transitive description: name: screen_retriever url: "https://pub.dartlang.org" source: hosted - version: "0.1.4" + version: "0.1.5" scroll_pos: dependency: transitive description: @@ -370,42 +384,35 @@ packages: name: shared_preferences url: "https://pub.dartlang.org" source: hosted - version: "2.0.15" + version: "2.0.17" shared_preferences_android: dependency: transitive description: name: shared_preferences_android url: "https://pub.dartlang.org" source: hosted - version: "2.0.12" - shared_preferences_ios: + version: "2.0.15" + shared_preferences_foundation: dependency: transitive description: - name: shared_preferences_ios + name: shared_preferences_foundation url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" - shared_preferences_macos: - dependency: transitive - description: - name: shared_preferences_macos - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.4" + version: "2.1.3" shared_preferences_platform_interface: dependency: transitive description: name: shared_preferences_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0" shared_preferences_web: dependency: transitive description: @@ -419,7 +426,7 @@ packages: name: shared_preferences_windows url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.3" sky_engine: dependency: transitive description: flutter @@ -494,35 +501,35 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "6.1.7" + version: "6.1.8" url_launcher_android: dependency: transitive description: name: url_launcher_android url: "https://pub.dartlang.org" source: hosted - version: "6.0.19" + version: "6.0.23" url_launcher_ios: dependency: transitive description: name: url_launcher_ios url: "https://pub.dartlang.org" source: hosted - version: "6.0.17" + version: "6.0.18" url_launcher_linux: dependency: transitive description: name: url_launcher_linux url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.0.2" url_launcher_macos: dependency: transitive description: name: url_launcher_macos url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.0.2" url_launcher_platform_interface: dependency: transitive description: @@ -536,14 +543,14 @@ packages: name: url_launcher_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.13" + version: "2.0.14" url_launcher_windows: dependency: transitive description: name: url_launcher_windows url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.0.2" vector_math: dependency: transitive description: @@ -573,21 +580,21 @@ packages: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.1.3" window_manager: dependency: "direct main" description: name: window_manager url: "https://pub.dartlang.org" source: hosted - version: "0.2.8" + version: "0.2.9" xdg_directories: dependency: transitive description: name: xdg_directories url: "https://pub.dartlang.org" source: hosted - version: "0.2.0+1" + version: "0.2.0+3" xinput_gamepad: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index d8c891e..d80b68b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,7 +9,7 @@ dependencies: flutter: sdk: flutter - fluent_ui: ^4.1.2 + fluent_ui: ^4.1.5 webview_windows: ^0.2.2 provider: ^6.0.5 xinput_gamepad: ^1.2.3 From 7239ca3584ce795a43afe39c838ea4087357fd2e Mon Sep 17 00:00:00 2001 From: LuanRoger Date: Wed, 25 Jan 2023 07:54:28 -0300 Subject: [PATCH 2/3] fix(library): release date game sorting --- .../sections/my_games_section.dart | 15 +++------------ lib/shared/widgets/models/xbox_page.dart | 1 + lib/shared/widgets/tiles/button_tile.dart | 6 ------ 3 files changed, 4 insertions(+), 18 deletions(-) diff --git a/lib/pages/my_library_page/sections/my_games_section.dart b/lib/pages/my_library_page/sections/my_games_section.dart index 6495d8b..fabf66c 100644 --- a/lib/pages/my_library_page/sections/my_games_section.dart +++ b/lib/pages/my_library_page/sections/my_games_section.dart @@ -14,9 +14,7 @@ import 'package:xbox_launcher/shared/enums/sort_options.dart'; import 'package:xbox_launcher/shared/widgets/navigations/navigation_section_stateless.dart'; import 'package:xbox_launcher/shared/widgets/placeholder_messages/xcloud_file_unavailable_message.dart'; import 'package:xbox_launcher/shared/widgets/tiles/apps_tile_grid.dart'; -import 'package:xbox_launcher/shared/widgets/tiles/tile_grid.dart'; import 'package:xbox_launcher/shared/widgets/utils/generators/models/tile_generator_option.dart'; -import 'package:xbox_launcher/shared/widgets/utils/generators/widget_gen.dart'; import 'package:xbox_launcher/utils/loaders/xcloud_json_db_loader.dart'; class MyGamesSection extends NavigationSectionStateless { @@ -28,9 +26,6 @@ class MyGamesSection extends NavigationSectionStateless { String? gameGenreFilter; SortOptions? currentSortOption; - //Cached lists - List? _cachedReleaseDataGameSort; - TextEditingController searchTextController = TextEditingController(); late ChipsRow chipsRow; List? chipsList; @@ -103,21 +98,17 @@ class MyGamesSection extends NavigationSectionStateless { gamesList.sort((game1, game2) => game1.name.compareTo(game2.name)); break; case SortOptions.RELEASE_DATE: - if (_cachedReleaseDataGameSort != null) { - gamesList = _cachedReleaseDataGameSort!; - } gamesList.sort((game1, game2) { List releaseDate1 = game1.releaseDate.split('/'); DateTime game1ReleaseDate = DateTime.utc(int.parse(releaseDate1[2]), int.parse(releaseDate1[1]), int.parse(releaseDate1[0])); - List releaseDate2 = game1.releaseDate.split('/'); + List releaseDate2 = game2.releaseDate.split('/'); DateTime game2ReleaseDate = DateTime.utc(int.parse(releaseDate2[2]), int.parse(releaseDate2[1]), int.parse(releaseDate2[0])); - return game2ReleaseDate.compareTo(game1ReleaseDate); + return game1ReleaseDate.compareTo(game2ReleaseDate); }); - _cachedReleaseDataGameSort = List.from(gamesList); break; } @@ -188,7 +179,7 @@ class MyGamesSection extends NavigationSectionStateless { ListBox( [ ComboBoxItem( - child: const Text("Sort: A to Z"), + child: const Text("A-Z"), value: SortOptions.ATOZ.index, ), ComboBoxItem( diff --git a/lib/shared/widgets/models/xbox_page.dart b/lib/shared/widgets/models/xbox_page.dart index a24897d..ecfc48f 100644 --- a/lib/shared/widgets/models/xbox_page.dart +++ b/lib/shared/widgets/models/xbox_page.dart @@ -18,6 +18,7 @@ abstract class XboxPage extends StatefulWidget { abstract class XboxPageState extends State with ShortcutViewerSupport implements MappingDefinition, XboxPageBuilder { + //TODO: Dispose all focus node when is not needed ElementFocusScope elementFocusScope = ElementFocusScope(); XboxPageState() { diff --git a/lib/shared/widgets/tiles/button_tile.dart b/lib/shared/widgets/tiles/button_tile.dart index 9441556..d41fee2 100644 --- a/lib/shared/widgets/tiles/button_tile.dart +++ b/lib/shared/widgets/tiles/button_tile.dart @@ -82,12 +82,6 @@ class _ButtonTileState extends TileWidgetState { }); } - @override - void dispose() { - super.dispose(); - _focusNode.dispose(); - } - @override Widget virtualBuild(BuildContext context) { return Button( From 66baa08a23838e8e5b312ca5a208d1ddb7bbf778 Mon Sep 17 00:00:00 2001 From: LuanRoger Date: Sat, 4 Feb 2023 15:03:50 -0300 Subject: [PATCH 3/3] fix(focus): dispose XboxPage's `FocusNodes` from scope - Fix button mapping in `GamePage` --- .../configurations_page.dart | 2 +- lib/pages/game_page.dart | 2 +- .../widgets/focus/element_focus_node.dart | 6 + .../widgets/focus/element_focus_scope.dart | 9 +- lib/shared/widgets/models/xbox_page.dart | 9 +- pubspec.lock | 294 +++++++++++------- pubspec.yaml | 6 +- 7 files changed, 210 insertions(+), 118 deletions(-) diff --git a/lib/pages/configurations_page/configurations_page.dart b/lib/pages/configurations_page/configurations_page.dart index 3ab9abb..8b0ac93 100644 --- a/lib/pages/configurations_page/configurations_page.dart +++ b/lib/pages/configurations_page/configurations_page.dart @@ -22,8 +22,8 @@ class _ConfigurationsPageState extends XboxPageState { @override void initState() { - selectedTab = 0; super.initState(); + selectedTab = 0; } @override diff --git a/lib/pages/game_page.dart b/lib/pages/game_page.dart index 5fa493b..31f4e3c 100644 --- a/lib/pages/game_page.dart +++ b/lib/pages/game_page.dart @@ -1,7 +1,7 @@ import 'package:fluent_ui/fluent_ui.dart'; import 'package:webview_windows/webview_windows.dart'; import 'package:xbox_launcher/models/app_models/game_model.dart'; -import 'package:xbox_launcher/models/controller_keyboard_pair.dart'; + import 'package:xbox_launcher/models/shortcut_models/shortcut_option.dart'; import 'package:xbox_launcher/shared/app_consts.dart'; import 'package:xbox_launcher/shared/widgets/models/xbox_page.dart'; diff --git a/lib/shared/widgets/focus/element_focus_node.dart b/lib/shared/widgets/focus/element_focus_node.dart index 3d06129..37203c3 100644 --- a/lib/shared/widgets/focus/element_focus_node.dart +++ b/lib/shared/widgets/focus/element_focus_node.dart @@ -18,4 +18,10 @@ class ElementFocusNode extends FocusNode { _currentScope.onElementFocus ?.call(_focableElement, _focableElement.elementValue); } + + @override + void dispose() { + super.dispose(); + + } } diff --git a/lib/shared/widgets/focus/element_focus_scope.dart b/lib/shared/widgets/focus/element_focus_scope.dart index f536c11..f405ce8 100644 --- a/lib/shared/widgets/focus/element_focus_scope.dart +++ b/lib/shared/widgets/focus/element_focus_scope.dart @@ -3,7 +3,8 @@ import 'package:xbox_launcher/shared/widgets/focus/focable_element.dart'; class ElementFocusScope { final List _elementsFocusNode = List.empty(growable: true); - void Function(FocableElement sender, Object? focusedElementValue)? onElementFocus; + void Function(FocableElement sender, Object? focusedElementValue)? + onElementFocus; ElementFocusNode createFocusNode() { ElementFocusNode focusNode = ElementFocusNode(this); @@ -11,4 +12,10 @@ class ElementFocusScope { return focusNode; } + + void dispose() { + for (ElementFocusNode node in _elementsFocusNode) { + node.dispose(); + } + } } diff --git a/lib/shared/widgets/models/xbox_page.dart b/lib/shared/widgets/models/xbox_page.dart index ecfc48f..c03228d 100644 --- a/lib/shared/widgets/models/xbox_page.dart +++ b/lib/shared/widgets/models/xbox_page.dart @@ -18,7 +18,6 @@ abstract class XboxPage extends StatefulWidget { abstract class XboxPageState extends State with ShortcutViewerSupport implements MappingDefinition, XboxPageBuilder { - //TODO: Dispose all focus node when is not needed ElementFocusScope elementFocusScope = ElementFocusScope(); XboxPageState() { @@ -39,7 +38,13 @@ abstract class XboxPageState extends State super.initState(); cachedShortcutsInfo = defineMapping(context); - if (cachedShortcutsInfo != null) _addPageShortcuts(cachedShortcutsInfo!); + _addPageShortcuts(cachedShortcutsInfo ?? List.empty()); + } + + @override + void dispose() { + super.dispose(); + elementFocusScope.dispose(); } @override diff --git a/pubspec.lock b/pubspec.lock index e122f67..19edfd5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,121 +5,138 @@ packages: dependency: transitive description: name: archive - url: "https://pub.dartlang.org" + sha256: d6347d54a2d8028e0437e3c099f66fdb8ae02c4720c1e7534c9f24c10351f85d + url: "https://pub.dev" source: hosted - version: "3.3.5" + version: "3.3.6" args: dependency: transitive description: name: args - url: "https://pub.dartlang.org" + sha256: "139d809800a412ebb26a3892da228b2d0ba36f0ef5d9a82166e5e52ec8d61611" + url: "https://pub.dev" source: hosted version: "2.3.2" async: dependency: transitive description: name: async - url: "https://pub.dartlang.org" + sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 + url: "https://pub.dev" source: hosted - version: "2.9.0" + version: "2.10.0" boolean_selector: dependency: transitive description: name: boolean_selector - url: "https://pub.dartlang.org" + sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" carousel_slider: dependency: "direct main" description: name: carousel_slider - url: "https://pub.dartlang.org" + sha256: "9c695cc963bf1d04a47bd6021f68befce8970bcd61d24938e1fb0918cf5d9c42" + url: "https://pub.dev" source: hosted version: "4.2.1" characters: dependency: transitive description: name: characters - url: "https://pub.dartlang.org" + sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c + url: "https://pub.dev" source: hosted version: "1.2.1" cli_util: dependency: transitive description: name: cli_util - url: "https://pub.dartlang.org" + sha256: "66f86e916d285c1a93d3b79587d94bd71984a66aac4ff74e524cfa7877f1395c" + url: "https://pub.dev" source: hosted version: "0.3.5" clock: dependency: "direct main" description: name: clock - url: "https://pub.dartlang.org" + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf + url: "https://pub.dev" source: hosted version: "1.1.1" collection: dependency: transitive description: name: collection - url: "https://pub.dartlang.org" + sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 + url: "https://pub.dev" source: hosted - version: "1.16.0" + version: "1.17.0" console: dependency: transitive description: name: console - url: "https://pub.dartlang.org" + sha256: e04e7824384c5b39389acdd6dc7d33f3efe6b232f6f16d7626f194f6a01ad69a + url: "https://pub.dev" source: hosted version: "4.1.0" convert: dependency: transitive description: name: convert - url: "https://pub.dartlang.org" + sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" + url: "https://pub.dev" source: hosted version: "3.1.1" crypto: dependency: transitive description: name: crypto - url: "https://pub.dartlang.org" + sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67 + url: "https://pub.dev" source: hosted version: "3.0.2" fake_async: dependency: transitive description: name: fake_async - url: "https://pub.dartlang.org" + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" + url: "https://pub.dev" source: hosted version: "1.3.1" ffi: dependency: transitive description: name: ffi - url: "https://pub.dartlang.org" + sha256: a38574032c5f1dd06c4aee541789906c12ccaab8ba01446e800d9c5b79c4a978 + url: "https://pub.dev" source: hosted version: "2.0.1" file: dependency: transitive description: name: file - url: "https://pub.dartlang.org" + sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + url: "https://pub.dev" source: hosted version: "6.1.4" file_picker: dependency: "direct main" description: name: file_picker - url: "https://pub.dartlang.org" + sha256: d090ae03df98b0247b82e5928f44d1b959867049d18d73635e2e0bc3f49542b9 + url: "https://pub.dev" source: hosted version: "5.2.5" fluent_ui: dependency: "direct main" description: name: fluent_ui - url: "https://pub.dartlang.org" + sha256: f9d443f9181900cfab9f38793195c7c4221cf05eb86918ac3517e67c024da867 + url: "https://pub.dev" source: hosted - version: "4.1.5" + version: "4.2.0" flutter: dependency: "direct main" description: flutter @@ -129,7 +146,8 @@ packages: dependency: "direct dev" description: name: flutter_lints - url: "https://pub.dartlang.org" + sha256: b543301ad291598523947dc534aaddc5aaad597b709d2426d3a0e0d44c5cb493 + url: "https://pub.dev" source: hosted version: "1.0.4" flutter_localizations: @@ -141,14 +159,16 @@ packages: dependency: transitive description: name: flutter_plugin_android_lifecycle - url: "https://pub.dartlang.org" + sha256: "60fc7b78455b94e6de2333d2f95196d32cf5c22f4b0b0520a628804cb463503b" + url: "https://pub.dev" source: hosted version: "2.0.7" flutter_svg: dependency: "direct main" description: name: flutter_svg - url: "https://pub.dartlang.org" + sha256: "6ff9fa12892ae074092de2fa6a9938fb21dbabfdaa2ff57dc697ff912fc8d4b2" + url: "https://pub.dev" source: hosted version: "1.1.6" flutter_test: @@ -165,266 +185,296 @@ packages: dependency: transitive description: name: get_it - url: "https://pub.dartlang.org" + sha256: "290fde3a86072e4b37dbb03c07bec6126f0ecc28dad403c12ffe2e5a2d751ab7" + url: "https://pub.dev" source: hosted version: "7.2.0" image: dependency: transitive description: name: image - url: "https://pub.dartlang.org" + sha256: "8e9d133755c3e84c73288363e6343157c383a0c6c56fc51afcc5d4d7180306d6" + url: "https://pub.dev" source: hosted version: "3.3.0" intl: dependency: transitive description: name: intl - url: "https://pub.dartlang.org" + sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91" + url: "https://pub.dev" source: hosted version: "0.17.0" js: dependency: transitive description: name: js - url: "https://pub.dartlang.org" + sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" + url: "https://pub.dev" source: hosted - version: "0.6.4" + version: "0.6.5" lints: dependency: transitive description: name: lints - url: "https://pub.dartlang.org" + sha256: a2c3d198cb5ea2e179926622d433331d8b58374ab8f29cdda6e863bd62fd369c + url: "https://pub.dev" source: hosted version: "1.0.1" matcher: dependency: transitive description: name: matcher - url: "https://pub.dartlang.org" + sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" + url: "https://pub.dev" source: hosted - version: "0.12.12" + version: "0.12.13" material_color_utilities: dependency: transitive description: name: material_color_utilities - url: "https://pub.dartlang.org" + sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + url: "https://pub.dev" source: hosted - version: "0.1.5" + version: "0.2.0" meta: dependency: transitive description: name: meta - url: "https://pub.dartlang.org" + sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" + url: "https://pub.dev" source: hosted version: "1.8.0" msix: dependency: "direct dev" description: name: msix - url: "https://pub.dartlang.org" + sha256: e3de4d9f52543ad6e4b0f534991e1303cbd379d24be28dd241ac60bd9439a201 + url: "https://pub.dev" source: hosted version: "3.7.0" nested: dependency: transitive description: name: nested - url: "https://pub.dartlang.org" + sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20" + url: "https://pub.dev" source: hosted version: "1.0.0" package_config: dependency: transitive description: name: package_config - url: "https://pub.dartlang.org" + sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" + url: "https://pub.dev" source: hosted version: "2.1.0" path: dependency: "direct main" description: name: path - url: "https://pub.dartlang.org" + sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b + url: "https://pub.dev" source: hosted version: "1.8.2" path_drawing: dependency: transitive description: name: path_drawing - url: "https://pub.dartlang.org" + sha256: bbb1934c0cbb03091af082a6389ca2080345291ef07a5fa6d6e078ba8682f977 + url: "https://pub.dev" source: hosted version: "1.0.1" path_parsing: dependency: transitive description: name: path_parsing - url: "https://pub.dartlang.org" + sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf + url: "https://pub.dev" source: hosted version: "1.0.1" path_provider: dependency: "direct main" description: name: path_provider - url: "https://pub.dartlang.org" + sha256: dcea5feb97d8abf90cab9e9030b497fb7c3cbf26b7a1fe9e3ef7dcb0a1ddec95 + url: "https://pub.dev" source: hosted - version: "2.0.11" + version: "2.0.12" path_provider_android: dependency: transitive description: name: path_provider_android - url: "https://pub.dartlang.org" + sha256: a776c088d671b27f6e3aa8881d64b87b3e80201c64e8869b811325de7a76c15e + url: "https://pub.dev" source: hosted version: "2.0.22" - path_provider_ios: + path_provider_foundation: dependency: transitive description: - name: path_provider_ios - url: "https://pub.dartlang.org" + name: path_provider_foundation + sha256: "62a68e7e1c6c459f9289859e2fae58290c981ce21d1697faf54910fe1faa4c74" + url: "https://pub.dev" source: hosted - version: "2.0.11" + version: "2.1.1" path_provider_linux: dependency: transitive description: name: path_provider_linux - url: "https://pub.dartlang.org" + sha256: ab0987bf95bc591da42dffb38c77398fc43309f0b9b894dcc5d6f40c4b26c379 + url: "https://pub.dev" source: hosted version: "2.1.7" - path_provider_macos: - dependency: transitive - description: - name: path_provider_macos - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.7" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface - url: "https://pub.dartlang.org" + sha256: f0abc8ebd7253741f05488b4813d936b4d07c6bae3e86148a09e342ee4b08e76 + url: "https://pub.dev" source: hosted version: "2.0.5" path_provider_windows: dependency: transitive description: name: path_provider_windows - url: "https://pub.dartlang.org" + sha256: bcabbe399d4042b8ee687e17548d5d3f527255253b4a639f5f8d2094a9c2b45c + url: "https://pub.dev" source: hosted version: "2.1.3" petitparser: dependency: transitive description: name: petitparser - url: "https://pub.dartlang.org" + sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4" + url: "https://pub.dev" source: hosted version: "5.1.0" platform: dependency: transitive description: name: platform - url: "https://pub.dartlang.org" + sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76" + url: "https://pub.dev" source: hosted version: "3.1.0" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface - url: "https://pub.dartlang.org" + sha256: dbf0f707c78beedc9200146ad3cb0ab4d5da13c246336987be6940f026500d3a + url: "https://pub.dev" source: hosted version: "2.1.3" pointycastle: dependency: transitive description: name: pointycastle - url: "https://pub.dartlang.org" + sha256: db7306cf0249f838d1a24af52b5a5887c5bf7f31d8bb4e827d071dc0939ad346 + url: "https://pub.dev" source: hosted version: "3.6.2" process: dependency: transitive description: name: process - url: "https://pub.dartlang.org" + sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09" + url: "https://pub.dev" source: hosted version: "4.2.4" provider: dependency: "direct main" description: name: provider - url: "https://pub.dartlang.org" + sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f + url: "https://pub.dev" source: hosted version: "6.0.5" pub_semver: dependency: transitive description: name: pub_semver - url: "https://pub.dartlang.org" + sha256: "307de764d305289ff24ad257ad5c5793ce56d04947599ad68b3baa124105fc17" + url: "https://pub.dev" source: hosted version: "2.1.3" recase: dependency: transitive description: name: recase - url: "https://pub.dartlang.org" + sha256: e4eb4ec2dcdee52dcf99cb4ceabaffc631d7424ee55e56f280bc039737f89213 + url: "https://pub.dev" source: hosted version: "4.1.0" screen_retriever: dependency: transitive description: name: screen_retriever - url: "https://pub.dartlang.org" + sha256: "9c3839c4eb80807cd8210afa3c84a177ba00aef9f9b7b74ad92d3a0ab1d7e7ed" + url: "https://pub.dev" source: hosted version: "0.1.5" scroll_pos: dependency: transitive description: name: scroll_pos - url: "https://pub.dartlang.org" + sha256: cfca311b6b8d51538ff90e206fbe6ce3b36e7125ea6da4a40eb626c7f9f083b1 + url: "https://pub.dev" source: hosted version: "0.3.0" shared_preferences: dependency: "direct main" description: name: shared_preferences - url: "https://pub.dartlang.org" + sha256: "5949029e70abe87f75cfe59d17bf5c397619c4b74a099b10116baeb34786fad9" + url: "https://pub.dev" source: hosted version: "2.0.17" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - url: "https://pub.dartlang.org" + sha256: "955e9736a12ba776bdd261cf030232b30eadfcd9c79b32a3250dd4a494e8c8f7" + url: "https://pub.dev" source: hosted version: "2.0.15" shared_preferences_foundation: dependency: transitive description: name: shared_preferences_foundation - url: "https://pub.dartlang.org" + sha256: "2b55c18636a4edc529fa5cd44c03d3f3100c00513f518c5127c951978efcccd0" + url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.3" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux - url: "https://pub.dartlang.org" + sha256: f8ea038aa6da37090093974ebdcf4397010605fd2ff65c37a66f9d28394cb874 + url: "https://pub.dev" source: hosted version: "2.1.3" shared_preferences_platform_interface: dependency: transitive description: name: shared_preferences_platform_interface - url: "https://pub.dartlang.org" + sha256: da9431745ede5ece47bc26d5d73a9d3c6936ef6945c101a5aca46f62e52c1cf3 + url: "https://pub.dev" source: hosted version: "2.1.0" shared_preferences_web: dependency: transitive description: name: shared_preferences_web - url: "https://pub.dartlang.org" + sha256: a4b5bc37fe1b368bbc81f953197d55e12f49d0296e7e412dfe2d2d77d6929958 + url: "https://pub.dev" source: hosted version: "2.0.4" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows - url: "https://pub.dartlang.org" + sha256: "5eaf05ae77658d3521d0e993ede1af962d4b326cd2153d312df716dc250f00c9" + url: "https://pub.dev" source: hosted version: "2.1.3" sky_engine: @@ -436,37 +486,42 @@ packages: dependency: transitive description: name: source_span - url: "https://pub.dartlang.org" + sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.9.1" sprintf: dependency: "direct main" description: name: sprintf - url: "https://pub.dartlang.org" + sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" + url: "https://pub.dev" source: hosted version: "7.0.0" stack_trace: dependency: transitive description: name: stack_trace - url: "https://pub.dartlang.org" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - url: "https://pub.dartlang.org" + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" string_scanner: dependency: transitive description: name: string_scanner - url: "https://pub.dartlang.org" + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.2.0" sys_info_getter: dependency: "direct main" description: @@ -478,86 +533,98 @@ packages: dependency: transitive description: name: term_glyph - url: "https://pub.dartlang.org" + sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 + url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: transitive description: name: test_api - url: "https://pub.dartlang.org" + sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 + url: "https://pub.dev" source: hosted - version: "0.4.12" + version: "0.4.16" typed_data: dependency: transitive description: name: typed_data - url: "https://pub.dartlang.org" + sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5" + url: "https://pub.dev" source: hosted version: "1.3.1" url_launcher: dependency: "direct main" description: name: url_launcher - url: "https://pub.dartlang.org" + sha256: "698fa0b4392effdc73e9e184403b627362eb5fbf904483ac9defbb1c2191d809" + url: "https://pub.dev" source: hosted version: "6.1.8" url_launcher_android: dependency: transitive description: name: url_launcher_android - url: "https://pub.dartlang.org" + sha256: "3e2f6dfd2c7d9cd123296cab8ef66cfc2c1a13f5845f42c7a0f365690a8a7dd1" + url: "https://pub.dev" source: hosted version: "6.0.23" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - url: "https://pub.dartlang.org" + sha256: bb328b24d3bccc20bdf1024a0990ac4f869d57663660de9c936fb8c043edefe3 + url: "https://pub.dev" source: hosted version: "6.0.18" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - url: "https://pub.dartlang.org" + sha256: "318c42cba924e18180c029be69caf0a1a710191b9ec49bb42b5998fdcccee3cc" + url: "https://pub.dev" source: hosted version: "3.0.2" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - url: "https://pub.dartlang.org" + sha256: "41988b55570df53b3dd2a7fc90c76756a963de6a8c5f8e113330cb35992e2094" + url: "https://pub.dev" source: hosted version: "3.0.2" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - url: "https://pub.dartlang.org" + sha256: "4eae912628763eb48fc214522e58e942fd16ce195407dbf45638239523c759a6" + url: "https://pub.dev" source: hosted version: "2.1.1" url_launcher_web: dependency: transitive description: name: url_launcher_web - url: "https://pub.dartlang.org" + sha256: "44d79408ce9f07052095ef1f9a693c258d6373dc3944249374e30eff7219ccb0" + url: "https://pub.dev" source: hosted version: "2.0.14" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - url: "https://pub.dartlang.org" + sha256: b6217370f8eb1fd85c8890c539f5a639a01ab209a36db82c921ebeacefc7a615 + url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.3" vector_math: dependency: transitive description: name: vector_math - url: "https://pub.dartlang.org" + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" + url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.4" virtual_keyboard: dependency: "direct main" description: @@ -571,49 +638,56 @@ packages: dependency: "direct main" description: name: webview_windows - url: "https://pub.dartlang.org" + sha256: a6d76f9f020e638c2e5417f473e2907c097d1fe3eac8bd4be7517bc3a0df6b86 + url: "https://pub.dev" source: hosted version: "0.2.2" win32: dependency: transitive description: name: win32 - url: "https://pub.dartlang.org" + sha256: c9ebe7ee4ab0c2194e65d3a07d8c54c5d00bb001b76081c4a04cdb8448b59e46 + url: "https://pub.dev" source: hosted version: "3.1.3" window_manager: dependency: "direct main" description: name: window_manager - url: "https://pub.dartlang.org" + sha256: "5bdd29dc5f1f3185fc90696373a571d77968e03e5e820fb1ecdbdade3f5d8fff" + url: "https://pub.dev" source: hosted - version: "0.2.9" + version: "0.3.0" xdg_directories: dependency: transitive description: name: xdg_directories - url: "https://pub.dartlang.org" + sha256: bd512f03919aac5f1313eb8249f223bacf4927031bf60b02601f81f687689e86 + url: "https://pub.dev" source: hosted version: "0.2.0+3" xinput_gamepad: dependency: "direct main" description: name: xinput_gamepad - url: "https://pub.dartlang.org" + sha256: d5fc28bd4b8c6541caafee1789cc5af956a9342e4eb1faf3da24bd24149bf121 + url: "https://pub.dev" source: hosted version: "1.2.3" xml: dependency: transitive description: name: xml - url: "https://pub.dartlang.org" + sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5" + url: "https://pub.dev" source: hosted - version: "6.1.0" + version: "6.2.2" yaml: dependency: transitive description: name: yaml - url: "https://pub.dartlang.org" + sha256: "23812a9b125b48d4007117254bca50abb6c712352927eece9e155207b1db2370" + url: "https://pub.dev" source: hosted version: "3.1.1" sdks: diff --git a/pubspec.yaml b/pubspec.yaml index d80b68b..27d0433 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,16 +9,16 @@ dependencies: flutter: sdk: flutter - fluent_ui: ^4.1.5 + fluent_ui: ^4.2.0 webview_windows: ^0.2.2 provider: ^6.0.5 xinput_gamepad: ^1.2.3 virtual_keyboard: git: https://github.com/LuanRoger/virtual_keyboard clock: ^1.1.1 - window_manager: ^0.2.8 + window_manager: ^0.3.0 shared_preferences: ^2.0.15 - file_picker: ^5.2.4 + file_picker: ^5.2.5 sprintf: ^7.0.0 carousel_slider: ^4.2.1 path_provider: ^2.0.11