diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d4e642ae8..e37a1c047 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -121,6 +121,8 @@ jobs: # with: # distribution: 'zulu' # java-version: '17' + - name: Set up Rust (for smtc_windows) + uses: hecrj/setup-rust-action@v2 - name: Set up Flutter uses: subosito/flutter-action@v2 with: diff --git a/lib/components/PlayerScreen/artist_chip.g.dart b/lib/components/PlayerScreen/artist_chip.g.dart index b023dc96a..46a95db06 100644 --- a/lib/components/PlayerScreen/artist_chip.g.dart +++ b/lib/components/PlayerScreen/artist_chip.g.dart @@ -142,6 +142,8 @@ class ArtistItemProvider extends AutoDisposeFutureProvider { } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin ArtistItemRef on AutoDisposeFutureProviderRef { /// The parameter `id` of this provider. String get id; @@ -155,4 +157,4 @@ class _ArtistItemProviderElement String get id => (origin as ArtistItemProvider).id; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/services/audio_service_smtc.dart b/lib/services/audio_service_smtc.dart index 0f576bf51..45ba15571 100644 --- a/lib/services/audio_service_smtc.dart +++ b/lib/services/audio_service_smtc.dart @@ -15,6 +15,7 @@ class AudioServiceSMTC extends AudioServicePlatform { // initialize SMTC //TODO we should call smtc.dispose() before the app is closed to prevent a background process from continuing to run // https://pub.dev/packages/flutter_window_close could be used to detect when the app is closed + await SMTCWindows.initialize(); smtc = SMTCWindows( // Which buttons to show in the OS media player config: const SMTCConfig( @@ -62,12 +63,12 @@ class AudioServiceSMTC extends AudioServicePlatform { if (request.state.playing && !smtc.enabled) { await smtc .enableSmtc() - .then((value) => smtc.setPlaybackStatus(PlaybackStatus.Playing)); + .then((value) => smtc.setPlaybackStatus(PlaybackStatus.playing)); } else { await smtc.setPosition(request.state.updatePosition); await smtc.setPlaybackStatus(request.state.playing - ? PlaybackStatus.Playing - : PlaybackStatus.Paused); + ? PlaybackStatus.playing + : PlaybackStatus.paused); await smtc.setRepeatMode(switch (request.state.repeatMode) { AudioServiceRepeatModeMessage.none => RepeatMode.none, diff --git a/lib/services/favorite_provider.g.dart b/lib/services/favorite_provider.g.dart index 55974192c..a5df6812b 100644 --- a/lib/services/favorite_provider.g.dart +++ b/lib/services/favorite_provider.g.dart @@ -155,6 +155,8 @@ class IsFavoriteProvider } } +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element mixin IsFavoriteRef on AutoDisposeNotifierProviderRef { /// The parameter `value` of this provider. FavoriteRequest get value; @@ -169,4 +171,4 @@ class _IsFavoriteProviderElement FavoriteRequest get value => (origin as IsFavoriteProvider).value; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/lib/services/finamp_settings_helper.g.dart b/lib/services/finamp_settings_helper.g.dart index 52790116d..ee94256fd 100644 --- a/lib/services/finamp_settings_helper.g.dart +++ b/lib/services/finamp_settings_helper.g.dart @@ -21,6 +21,8 @@ final finampSettingsProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef FinampSettingsRef = AutoDisposeStreamProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc index 5138914fa..ce4bfd2c8 100644 --- a/linux/flutter/generated_plugin_registrant.cc +++ b/linux/flutter/generated_plugin_registrant.cc @@ -8,7 +8,7 @@ #include #include -#include +#include #include #include @@ -19,9 +19,9 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) media_kit_libs_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "MediaKitLibsLinuxPlugin"); media_kit_libs_linux_plugin_register_with_registrar(media_kit_libs_linux_registrar); - g_autoptr(FlPluginRegistrar) screen_retriever_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverPlugin"); - screen_retriever_plugin_register_with_registrar(screen_retriever_registrar); + g_autoptr(FlPluginRegistrar) screen_retriever_linux_registrar = + fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverLinuxPlugin"); + screen_retriever_linux_plugin_register_with_registrar(screen_retriever_linux_registrar); g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); diff --git a/linux/flutter/generated_plugins.cmake b/linux/flutter/generated_plugins.cmake index c9db8aad5..62e6ea32f 100644 --- a/linux/flutter/generated_plugins.cmake +++ b/linux/flutter/generated_plugins.cmake @@ -5,7 +5,7 @@ list(APPEND FLUTTER_PLUGIN_LIST isar_flutter_libs media_kit_libs_linux - screen_retriever + screen_retriever_linux url_launcher_linux window_manager ) diff --git a/pubspec.lock b/pubspec.lock index afedeb789..3f668f3d0 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -34,10 +34,10 @@ packages: dependency: "direct main" description: name: app_set_id - sha256: "455b04bc03fd9b1b66a50bbca74278d973ac4e6f2c03d5dd4707bb071613a7e5" + sha256: "362d61e013f400666c6e0f57d56ab9d32505e011e4ca4dfb779fd80c9d9505b0" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.2.1" archive: dependency: transitive description: @@ -114,10 +114,10 @@ packages: dependency: "direct main" description: name: background_downloader - sha256: "6b73fa5d20c47e855f6ef3ed6fb3e0d164141d8ae7d43ca0a42c78f90eaa15e7" + sha256: "91448c0fcb41af14ede14485c33b8ca684fcd6c0ac0a439be9f83fa964753e13" url: "https://pub.dev" source: hosted - version: "8.5.6" + version: "8.6.0" balanced_text: dependency: "direct main" description: @@ -131,10 +131,10 @@ packages: dependency: "direct main" description: name: battery_plus - sha256: ccc1322fee1153a0f89e663e0eac2f64d659da506454cf24dcad75eb08ae138b + sha256: "220c8f1961efb01d6870493b5ac5a80afaeaffc8757f7a11ed3025a8570d29e7" url: "https://pub.dev" source: hosted - version: "6.0.2" + version: "6.2.0" battery_plus_platform_interface: dependency: transitive description: @@ -395,10 +395,10 @@ packages: dependency: "direct main" description: name: device_info_plus - sha256: a7fd703482b391a87d60b6061d04dfdeab07826b96f9abd8f5ed98068acc0074 + sha256: c4af09051b4f0508f6c1dc0a5c085bf014d5c9a4a0678ce1799c2b4d716387a0 url: "https://pub.dev" source: hosted - version: "10.1.2" + version: "11.1.0" device_info_plus_platform_interface: dependency: transitive description: @@ -419,10 +419,10 @@ packages: dependency: transitive description: name: fading_edge_scrollview - sha256: c25c2231652ce774cc31824d0112f11f653881f43d7f5302c05af11942052031 + sha256: "1f84fe3ea8e251d00d5735e27502a6a250e4aa3d3b330d3fdcb475af741464ef" url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "4.1.1" fake_async: dependency: transitive description: @@ -451,10 +451,10 @@ packages: dependency: "direct main" description: name: file_picker - sha256: "825aec673606875c33cd8d3c4083f1a3c3999015a84178b317b7ef396b7384f3" + sha256: aac85f20436608e01a6ffd1fdd4e746a7f33c93a2c83752e626bdfaea139b877 url: "https://pub.dev" source: hosted - version: "8.0.7" + version: "8.1.3" file_sizes: dependency: "direct main" description: @@ -488,10 +488,10 @@ packages: dependency: "direct main" description: name: flutter_cache_manager - sha256: "8207f27539deb83732fdda03e259349046a39a4c767269285f449ade355d54ba" + sha256: "400b6592f16a4409a7f2bb929a9a7e38c72cceb8ffb99ee57bbf2cb2cecf8386" url: "https://pub.dev" source: hosted - version: "3.3.1" + version: "3.4.1" flutter_gen_core: dependency: transitive description: @@ -512,18 +512,18 @@ packages: dependency: "direct dev" description: name: flutter_launcher_icons - sha256: "526faf84284b86a4cb36d20a5e45147747b7563d921373d4ee0559c54fcdbcea" + sha256: "619817c4b65b322b5104b6bb6dfe6cda62d9729bd7ad4303ecc8b4e690a67a77" url: "https://pub.dev" source: hosted - version: "0.13.1" + version: "0.14.1" flutter_lints: dependency: "direct dev" description: name: flutter_lints - sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" + sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1" url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "5.0.0" flutter_localizations: dependency: "direct main" description: flutter @@ -541,18 +541,18 @@ packages: dependency: "direct main" description: name: flutter_riverpod - sha256: "0f1974eff5bbe774bf1d870e406fc6f29e3d6f1c46bd9c58e7172ff68a785d7d" + sha256: "9532ee6db4a943a1ed8383072a2e3eeda041db5657cdf6d2acecf3c21ecbe7e1" url: "https://pub.dev" source: hosted - version: "2.5.1" + version: "2.6.1" flutter_rust_bridge: dependency: transitive description: name: flutter_rust_bridge - sha256: e12415c3bce49bcbc3fed383f0ea41ad7d828f6cf0eccba0588ffa5a812fe522 + sha256: "0ad5079de35d317650fec59b26cb4d0c116ebc2ce703a29f9367513b8a91c287" url: "https://pub.dev" source: hosted - version: "1.82.1" + version: "2.5.0" flutter_staggered_grid_view: dependency: transitive description: @@ -565,10 +565,10 @@ packages: dependency: "direct main" description: name: flutter_sticky_header - sha256: "017f398fbb45a589e01491861ca20eb6570a763fd9f3888165a978e11248c709" + sha256: "7f76d24d119424ca0c95c146b8627a457e8de8169b0d584f766c2c545db8f8be" url: "https://pub.dev" source: hosted - version: "0.6.5" + version: "0.7.0" flutter_svg: dependency: "direct main" description: @@ -815,18 +815,18 @@ packages: dependency: "direct main" description: name: just_audio - sha256: d8e8aaf417d33e345299c17f6457f72bd4ba0c549dc34607abb5183a354edc4d + sha256: b41646a8241688f1d99c2e69c4da2bb26aa4b3a99795f6ff205c2a165e033fda url: "https://pub.dev" source: hosted - version: "0.9.40" + version: "0.9.41" just_audio_media_kit: dependency: "direct main" description: name: just_audio_media_kit - sha256: "7f57d317fafa04cb3e70b924e8f632ffb7eca7a97a369e1e44738ed89fbd5da1" + sha256: "9f3517213dfc7bbaf6980656feb66c35600f114c7efc0b5b3f4476cd5c18b45e" url: "https://pub.dev" source: hosted - version: "2.0.5" + version: "2.0.6" just_audio_platform_interface: dependency: transitive description: @@ -871,10 +871,10 @@ packages: dependency: transitive description: name: lints - sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" + sha256: "3315600f3fb3b135be672bf4a178c55f274bebe368325ae18462c89ac1e3b413" url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "5.0.0" locale_names: dependency: "direct main" description: @@ -887,10 +887,10 @@ packages: dependency: "direct main" description: name: logging - sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" + sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" macros: dependency: transitive description: @@ -903,10 +903,10 @@ packages: dependency: "direct main" description: name: marquee - sha256: "4b5243d2804373bdc25fc93d42c3b402d6ec1f4ee8d0bb72276edd04ae7addb8" + sha256: a87e7e80c5d21434f90ad92add9f820cf68be374b226404fe881d2bba7be0862 url: "https://pub.dev" source: hosted - version: "2.2.3" + version: "2.3.0" matcher: dependency: transitive description: @@ -1197,14 +1197,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.0" - puppeteer: - dependency: transitive - description: - name: puppeteer - sha256: fc33b2a12731e0b9e16c40cd91ea2b6886bcc24037a435fceb59b786d4074f2b - url: "https://pub.dev" - source: hosted - version: "3.15.0" qs_dart: dependency: transitive description: @@ -1225,42 +1217,42 @@ packages: dependency: transitive description: name: riverpod - sha256: f21b32ffd26a36555e501b04f4a5dca43ed59e16343f1a30c13632b2351dfa4d + sha256: "59062512288d3056b2321804332a13ffdd1bf16df70dcc8e506e411280a72959" url: "https://pub.dev" source: hosted - version: "2.5.1" + version: "2.6.1" riverpod_analyzer_utils: dependency: transitive description: name: riverpod_analyzer_utils - sha256: ee72770090078e6841d51355292335f1bc254907c6694283389dcb8156d99a4d + sha256: "0dcb0af32d561f8fa000c6a6d95633c9fb08ea8a8df46e3f9daca59f11218167" url: "https://pub.dev" source: hosted - version: "0.5.3" + version: "0.5.6" riverpod_annotation: dependency: "direct main" description: name: riverpod_annotation - sha256: e5e796c0eba4030c704e9dae1b834a6541814963292839dcf9638d53eba84f5c + sha256: e14b0bf45b71326654e2705d462f21b958f987087be850afd60578fcd502d1b8 url: "https://pub.dev" source: hosted - version: "2.3.5" + version: "2.6.1" riverpod_generator: dependency: "direct dev" description: name: riverpod_generator - sha256: "1ad626afbd8b01d168870b13c0b036f8a5bdb57c14cd426dc5b4595466bd6e2f" + sha256: "851aedac7ad52693d12af3bf6d92b1626d516ed6b764eb61bf19e968b5e0b931" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.6.1" riverpod_lint: dependency: "direct dev" description: name: riverpod_lint - sha256: b95a8cdc6102397f7d51037131c25ce7e51be900be021af4bf0c2d6f1b8f7aa7 + sha256: "0684c21a9a4582c28c897d55c7b611fa59a351579061b43f8c92c005804e63a8" url: "https://pub.dev" source: hosted - version: "2.3.12" + version: "2.6.1" rxdart: dependency: "direct main" description: @@ -1281,10 +1273,42 @@ packages: dependency: transitive description: name: screen_retriever - sha256: "6ee02c8a1158e6dae7ca430da79436e3b1c9563c8cf02f524af997c201ac2b90" + sha256: "570dbc8e4f70bac451e0efc9c9bb19fa2d6799a11e6ef04f946d7886d2e23d0c" + url: "https://pub.dev" + source: hosted + version: "0.2.0" + screen_retriever_linux: + dependency: transitive + description: + name: screen_retriever_linux + sha256: f7f8120c92ef0784e58491ab664d01efda79a922b025ff286e29aa123ea3dd18 + url: "https://pub.dev" + source: hosted + version: "0.2.0" + screen_retriever_macos: + dependency: transitive + description: + name: screen_retriever_macos + sha256: "71f956e65c97315dd661d71f828708bd97b6d358e776f1a30d5aa7d22d78a149" + url: "https://pub.dev" + source: hosted + version: "0.2.0" + screen_retriever_platform_interface: + dependency: transitive + description: + name: screen_retriever_platform_interface + sha256: ee197f4581ff0d5608587819af40490748e1e39e648d7680ecf95c05197240c0 + url: "https://pub.dev" + source: hosted + version: "0.2.0" + screen_retriever_windows: + dependency: transitive + description: + name: screen_retriever_windows + sha256: "449ee257f03ca98a57288ee526a301a430a344a161f9202b4fcc38576716fe13" url: "https://pub.dev" source: hosted - version: "0.1.9" + version: "0.2.0" scroll_to_index: dependency: "direct main" description: @@ -1297,18 +1321,18 @@ packages: dependency: "direct main" description: name: share_plus - sha256: ef3489a969683c4f3d0239010cc8b7a2a46543a8d139e111c06c558875083544 + sha256: "3af2cda1752e5c24f2fc04b6083b40f013ffe84fb90472f30c6499a9213d5442" url: "https://pub.dev" source: hosted - version: "9.0.0" + version: "10.1.1" share_plus_platform_interface: dependency: transitive description: name: share_plus_platform_interface - sha256: "0f9e4418835d1b2c3ae78fdb918251959106cefdbc4dd43526e182f80e82f6d4" + sha256: c57c0bbfec7142e3a0f55633be504b796af72e60e3c791b44d5a017b985f7a48 url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "5.0.1" shelf: dependency: transitive description: @@ -1317,14 +1341,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.4.1" - shelf_static: - dependency: transitive - description: - name: shelf_static - sha256: c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3 - url: "https://pub.dev" - source: hosted - version: "1.1.3" shelf_web_socket: dependency: transitive description: @@ -1358,10 +1374,10 @@ packages: dependency: "direct main" description: name: smtc_windows - sha256: "799bbe0f8e4436da852c5dcc0be482c97b8ae0f504f65c6b750cd239b4835aa0" + sha256: "80f7c10867da485ffdf87f842bf27e6763589933c18c11af5dc1cd1e158c3154" url: "https://pub.dev" source: hosted - version: "0.1.2" + version: "1.0.0" source_gen: dependency: transitive description: @@ -1395,6 +1411,14 @@ packages: url: "https://github.com/odriverobotics/split_view.git" source: git version: "3.2.1" + sprintf: + dependency: transitive + description: + name: sprintf + sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" + url: "https://pub.dev" + source: hosted + version: "7.0.0" sqflite: dependency: transitive description: @@ -1491,14 +1515,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.1" - tuple: - dependency: transitive - description: - name: tuple - sha256: a97ce2013f240b2f3807bcbaf218765b6f301c3eff91092bcfa23a039e7dd151 - url: "https://pub.dev" - source: hosted - version: "2.0.2" typed_data: dependency: transitive description: @@ -1543,10 +1559,10 @@ packages: dependency: "direct main" description: name: url_launcher - sha256: "21b704ce5fa560ea9f3b525b43601c678728ba46725bab9b01187b4831377ed3" + sha256: "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603" url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "6.3.1" url_launcher_android: dependency: transitive description: @@ -1607,18 +1623,18 @@ packages: dependency: "direct main" description: name: uuid - sha256: "648e103079f7c64a36dc7d39369cabb358d377078a051d6ae2ad3aa539519313" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "3.0.7" + version: "4.5.1" value_layout_builder: dependency: transitive description: name: value_layout_builder - sha256: "98202ec1807e94ac72725b7f0d15027afde513c55c69ff3f41bcfccb950831bc" + sha256: c02511ea91ca5c643b514a33a38fa52536f74aa939ec367d02938b5ede6807fa url: "https://pub.dev" source: hosted - version: "0.3.1" + version: "0.4.0" vector_graphics: dependency: transitive description: @@ -1703,18 +1719,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" web_socket_channel: dependency: transitive description: name: web_socket_channel - sha256: "58c6666b342a38816b2e7e50ed0f1e261959630becd4c879c4f26bfa14aa5a42" + sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b url: "https://pub.dev" source: hosted - version: "2.4.5" + version: "2.4.0" win32: dependency: transitive description: @@ -1735,10 +1751,10 @@ packages: dependency: "direct main" description: name: window_manager - sha256: "8699323b30da4cdbe2aa2e7c9de567a6abd8a97d9a5c850a3c86dcd0b34bbfbf" + sha256: "732896e1416297c63c9e3fb95aea72d0355f61390263982a47fd519169dc5059" url: "https://pub.dev" source: hosted - version: "0.3.9" + version: "0.4.3" xdg_directories: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 4ed5f370a..b7b6eeaad 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -26,12 +26,12 @@ dependencies: flutter_localizations: sdk: flutter - background_downloader: ^8.4.1 + background_downloader: ^8.6.0 json_annotation: ^4.8.1 chopper: ^8.0.0 get_it: ^7.2.0 - just_audio: ^0.9.37 - just_audio_media_kit: ^2.0.4 + just_audio: ^0.9.41 + just_audio_media_kit: ^2.0.6 media_kit_libs_linux: ^1.1.3 # Transcoding does not work on windows with current media-kit release. This fork uses the most recent @@ -41,7 +41,7 @@ dependencies: url: https://github.com/Komodo5197/media-kit.git ref: 475a08cc97b94702f774bc906e1472b5bddc932b path: libs/windows/media_kit_libs_windows_audio - smtc_windows: ^0.1.2 + smtc_windows: ^1.0.0 audio_service: ^0.18.13 audio_service_mpris: ^0.1.3 audio_service_platform_interface: ^0.1.1 @@ -52,17 +52,17 @@ dependencies: hive: ^2.2.3 hive_flutter: ^1.1.0 file_sizes: ^1.0.6 - logging: ^1.1.1 + logging: ^1.3.0 collection: ^1.18.0 clipboard: ^0.1.3 - file_picker: ^8.0.3 + file_picker: ^8.1.3 permission_handler: ^11.3.1 provider: ^6.0.5 - uuid: ^3.0.7 + uuid: ^4.5.1 infinite_scroll_pagination: ^4.0.0 - flutter_sticky_header: ^0.6.5 - device_info_plus: ^10.0.1 - app_set_id: ^1.2.0 + flutter_sticky_header: ^0.7.0 + device_info_plus: ^11.1.0 + app_set_id: ^1.2.1 package_info_plus: ^8.0.0 octo_image: ^2.0.0 # Main split view package does not seem actively maintained. Use fork with ability to specify @@ -71,14 +71,14 @@ dependencies: git: url: https://github.com/odriverobotics/split_view.git ref: 8b2b0f0e1c8470183cb2df40815a05bfdb3fe219 - share_plus: ^9.0.0 + share_plus: ^10.1.1 isar: ^3.1.0 isar_flutter_libs: ^3.1.0 path: ^1.9.0 intl: '>=0.18.1 < 1.0.0' auto_size_text: ^3.0.0 - marquee: ^2.2.3 + marquee: ^2.3.0 palette_generator: git: url: https://github.com/jmshrv/packages.git @@ -86,12 +86,12 @@ dependencies: ref: 4992c3b path: packages/palette_generator flutter_tabler_icons: ^1.27.0 - flutter_riverpod: ^2.4.9 - riverpod_annotation: ^2.3.3 + flutter_riverpod: ^2.6.1 + riverpod_annotation: ^2.6.1 locale_names: ^1.1.1 flutter_vibrate: ^1.3.0 mini_music_visualizer: ^1.0.2 - flutter_cache_manager: ^3.3.1 + flutter_cache_manager: ^3.4.1 # fix not showing elipses when maxLines==1 balanced_text: git: @@ -100,10 +100,10 @@ dependencies: flutter_to_airplay: ^2.0.4 flutter_blurhash: ^0.8.2 scroll_to_index: ^3.0.1 - window_manager: ^0.3.8 - url_launcher: ^6.2.6 + window_manager: ^0.4.3 + url_launcher: ^6.3.1 wakelock_plus: ^1.2.8 - battery_plus: ^6.0.2 + battery_plus: ^6.2.0 focus_on_it: ^2.0.1 flutter_svg: ^2.0.10+1 @@ -115,11 +115,11 @@ dev_dependencies: chopper_generator: ^8.0.0 hive_generator: ^2.0.0 json_serializable: ^6.7.1 - flutter_launcher_icons: ^0.13.1 - flutter_lints: ^4.0.0 - riverpod_generator: ^2.3.9 + flutter_launcher_icons: ^0.14.1 + flutter_lints: ^5.0.0 + riverpod_generator: ^2.6.1 custom_lint: - riverpod_lint: ^2.3.7 + riverpod_lint: ^2.6.1 isar_generator: ^3.1.0+1 msix: ^3.16.7 diff --git a/windows/flutter/generated_plugin_registrant.cc b/windows/flutter/generated_plugin_registrant.cc index 8c09f956d..9cb075195 100644 --- a/windows/flutter/generated_plugin_registrant.cc +++ b/windows/flutter/generated_plugin_registrant.cc @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include @@ -24,8 +24,8 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { registry->GetRegistrarForPlugin("MediaKitLibsWindowsAudioPluginCApi")); PermissionHandlerWindowsPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin")); - ScreenRetrieverPluginRegisterWithRegistrar( - registry->GetRegistrarForPlugin("ScreenRetrieverPlugin")); + ScreenRetrieverWindowsPluginCApiRegisterWithRegistrar( + registry->GetRegistrarForPlugin("ScreenRetrieverWindowsPluginCApi")); SharePlusWindowsPluginCApiRegisterWithRegistrar( registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi")); UrlLauncherWindowsRegisterWithRegistrar( diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake index 41be227b4..315d05f47 100644 --- a/windows/flutter/generated_plugins.cmake +++ b/windows/flutter/generated_plugins.cmake @@ -7,7 +7,7 @@ list(APPEND FLUTTER_PLUGIN_LIST isar_flutter_libs media_kit_libs_windows_audio permission_handler_windows - screen_retriever + screen_retriever_windows share_plus url_launcher_windows window_manager