From da76b9e803f1e3977a57e86e0f8ce3326f286be1 Mon Sep 17 00:00:00 2001 From: Jeroen1602 <1492076+jeroen1602@users.noreply.github.com> Date: Mon, 16 Dec 2024 18:30:24 +0100 Subject: [PATCH] Updated dependencies. Fixed lint warnings with the new flutter version. --- lib/data/helper_structures/with_timeout.dart | 2 +- lib/pages/settings_page.dart | 2 - lib/theming.dart | 2 +- lib/widgets/dao_data_widget.dart | 3 +- lib/widgets/markdown/src/icon_syntax.dart | 2 +- .../lighthouse_back_end/pubspec.yaml | 10 +- .../lib/src/bluez_back_end_io.dart | 2 +- .../bluez_back_end/pubspec.yaml | 10 +- .../fake_back_end/pubspec.yaml | 12 +- .../src/flutter_blue_plus_back_end_io.dart | 3 +- .../flutter_blue_plus_back_end/pubspec.yaml | 8 +- .../pubspec.yaml | 10 +- .../lighthouse_logger/pubspec.yaml | 8 +- .../lighthouse_provider/pubspec.yaml | 16 +-- .../lighthouse_providers/pubspec.yaml | 8 +- .../lighthouse_test_helper/pubspec.yaml | 8 +- pubspec.lock | 128 +++++++++--------- pubspec.yaml | 9 +- shared/shared_platform/pubspec.yaml | 6 +- test/helpers/fake_device_info.dart | 2 + 20 files changed, 126 insertions(+), 125 deletions(-) diff --git a/lib/data/helper_structures/with_timeout.dart b/lib/data/helper_structures/with_timeout.dart index 51ec85a3..f085d424 100644 --- a/lib/data/helper_structures/with_timeout.dart +++ b/lib/data/helper_structures/with_timeout.dart @@ -1,7 +1,7 @@ /// /// A simple data class for streams that have a timeout. /// A normal usage would be. -/// StreamBuilder>( +/// StreamBuilder<WithTimeout<String?>>( /// stream: someStream, /// initialData: WithTimeout.empty(), /// builder: (context, snapshot) { diff --git a/lib/pages/settings_page.dart b/lib/pages/settings_page.dart index 5123e9ac..d89ddd8e 100644 --- a/lib/pages/settings_page.dart +++ b/lib/pages/settings_page.dart @@ -90,8 +90,6 @@ class _SettingsContentState extends State { return "Dark"; case ThemeMode.light: return "Light"; - default: - return "UNKNOWN"; } } diff --git a/lib/theming.dart b/lib/theming.dart index b5030ed6..b480e15b 100644 --- a/lib/theming.dart +++ b/lib/theming.dart @@ -138,7 +138,7 @@ class Theming { final double iconOpacity = iconTheme.opacity ?? 1.0; Color iconColor = iconTheme.color!; if (iconOpacity != 1.0) { - iconColor = iconColor.withOpacity(iconColor.opacity * iconOpacity); + iconColor = iconColor.withValues(alpha: iconColor.a * iconOpacity); } return iconColor; } diff --git a/lib/widgets/dao_data_widget.dart b/lib/widgets/dao_data_widget.dart index e35c753f..82298c42 100644 --- a/lib/widgets/dao_data_widget.dart +++ b/lib/widgets/dao_data_widget.dart @@ -75,7 +75,8 @@ class DaoTableDataWidget extends StatelessWidget { ), subtitle: Text(snapshot.error.toString(), style: theming.bodyMedium?.copyWith( - color: theme.colorScheme.onError.withOpacity(0.75))), + color: + theme.colorScheme.onError.withValues(alpha: 0.75))), ), ) else if (data != null) diff --git a/lib/widgets/markdown/src/icon_syntax.dart b/lib/widgets/markdown/src/icon_syntax.dart index ff50bc47..abf86010 100644 --- a/lib/widgets/markdown/src/icon_syntax.dart +++ b/lib/widgets/markdown/src/icon_syntax.dart @@ -1,7 +1,7 @@ part of '../markdown.dart'; /// -/// Convert an {the icon} tag into an element that can be used in +/// Convert an <icon>{the icon}</icon> tag into an element that can be used in /// markdown. Use the [IconBuilder] to then build the correct icon. /// class IconSyntax extends md.InlineSyntax { diff --git a/lighthouse_provider/lighthouse_back_end/pubspec.yaml b/lighthouse_provider/lighthouse_back_end/pubspec.yaml index 6a19ece3..7f109dab 100644 --- a/lighthouse_provider/lighthouse_back_end/pubspec.yaml +++ b/lighthouse_provider/lighthouse_back_end/pubspec.yaml @@ -4,20 +4,20 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.5.4 <4.0.0" + sdk: ">=3.6.0 <4.0.0" dependencies: meta: ">=1.3.0 <2.0.0" - convert: ^3.1.2 - collection: ^1.18.0 + convert: ">=3.1.2 <4.0.0" + collection: ">=1.18.0 <2.0.0" lighthouse_provider: path: ../lighthouse_provider lighthouse_logger: path: ../lighthouse_logger dev_dependencies: - lints: ^5.0.0 - test: ^1.25.8 + lints: ">=5.1.0 <6.0.0" + test: ">=1.25.12 < 2.0.0" fake_back_end: path: ../lighthouse_back_ends/fake_back_end shared_platform: diff --git a/lighthouse_provider/lighthouse_back_ends/bluez_back_end/lib/src/bluez_back_end_io.dart b/lighthouse_provider/lighthouse_back_ends/bluez_back_end/lib/src/bluez_back_end_io.dart index 7665a685..b40a4e2b 100644 --- a/lighthouse_provider/lighthouse_back_ends/bluez_back_end/lib/src/bluez_back_end_io.dart +++ b/lighthouse_provider/lighthouse_back_ends/bluez_back_end/lib/src/bluez_back_end_io.dart @@ -145,7 +145,7 @@ class BlueZBackEnd extends BLELighthouseBackEnd { return false; }) // Give the listener at least 2ms to process the data before firing again. - .debounce((final _) => TimerStream(true, Duration(milliseconds: 2))) + .debounceTime(const Duration(milliseconds: 2)) .listen((final device) async { await device.setTrusted(true); final lighthouseDevice = diff --git a/lighthouse_provider/lighthouse_back_ends/bluez_back_end/pubspec.yaml b/lighthouse_provider/lighthouse_back_ends/bluez_back_end/pubspec.yaml index 350a1443..3959e2af 100644 --- a/lighthouse_provider/lighthouse_back_ends/bluez_back_end/pubspec.yaml +++ b/lighthouse_provider/lighthouse_back_ends/bluez_back_end/pubspec.yaml @@ -4,12 +4,12 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.5.4 <4.0.0" + sdk: ">=3.6.0 <4.0.0" dependencies: bluez: ^0.8.2 - mutex: ^3.1.0 - rxdart: ^0.28.0 + mutex: ">=3.1.0 <4.0.0" + rxdart: ">=0.28.0 <1.0.0" lighthouse_back_end: path: ../../lighthouse_back_end lighthouse_provider: @@ -18,5 +18,5 @@ dependencies: path: ../../lighthouse_logger dev_dependencies: - lints: ^5.0.0 - test: ^1.25.8 + lints: ">=5.1.0 <6.0.0" + test: ">=1.25.12 < 2.0.0" diff --git a/lighthouse_provider/lighthouse_back_ends/fake_back_end/pubspec.yaml b/lighthouse_provider/lighthouse_back_ends/fake_back_end/pubspec.yaml index 45b3e0cb..28a59a97 100644 --- a/lighthouse_provider/lighthouse_back_ends/fake_back_end/pubspec.yaml +++ b/lighthouse_provider/lighthouse_back_ends/fake_back_end/pubspec.yaml @@ -4,14 +4,14 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.5.4 <4.0.0" + sdk: ">=3.6.0 <4.0.0" dependencies: flutter_web_bluetooth: ^1.0.0 meta: ">=1.3.0 <2.0.0" - mutex: ^3.1.0 - rxdart: ^0.28.0 - convert: ^3.1.2 + mutex: ">=3.1.0 <4.0.0" + rxdart: ">=0.28.0 <1.0.0" + convert: ">=3.1.2 <4.0.0" lighthouse_back_end: path: ../../lighthouse_back_end lighthouse_provider: @@ -24,7 +24,7 @@ dependencies: path: ../../lighthouse_logger dev_dependencies: - lints: ^5.0.0 - test: ^1.25.8 + lints: ">=5.1.0 <6.0.0" + test: ">=1.25.12 < 2.0.0" lighthouse_test_helper: path: ../../lighthouse_test_helper diff --git a/lighthouse_provider/lighthouse_back_ends/flutter_blue_plus_back_end/lib/src/flutter_blue_plus_back_end_io.dart b/lighthouse_provider/lighthouse_back_ends/flutter_blue_plus_back_end/lib/src/flutter_blue_plus_back_end_io.dart index cd0357bd..29644730 100644 --- a/lighthouse_provider/lighthouse_back_ends/flutter_blue_plus_back_end/lib/src/flutter_blue_plus_back_end_io.dart +++ b/lighthouse_provider/lighthouse_back_ends/flutter_blue_plus_back_end/lib/src/flutter_blue_plus_back_end_io.dart @@ -130,8 +130,7 @@ class FlutterBluePlusLighthouseBackEnd extends BLELighthouseBackEnd { return output; }) // Give the listener at least 2ms to process the data before firing again. - .debounce( - (final _) => TimerStream(true, const Duration(milliseconds: 2))) + .debounceTime(const Duration(milliseconds: 2)) .listen((final scanResults) { if (scanResults.isEmpty) { return; diff --git a/lighthouse_provider/lighthouse_back_ends/flutter_blue_plus_back_end/pubspec.yaml b/lighthouse_provider/lighthouse_back_ends/flutter_blue_plus_back_end/pubspec.yaml index 5d47a865..b5211f6b 100644 --- a/lighthouse_provider/lighthouse_back_ends/flutter_blue_plus_back_end/pubspec.yaml +++ b/lighthouse_provider/lighthouse_back_ends/flutter_blue_plus_back_end/pubspec.yaml @@ -4,15 +4,15 @@ version: 1.0.1 publish_to: none environment: - sdk: ">=3.5.4 <4.0.0" - flutter: ">=3.24.5" + sdk: ">=3.6.0 <4.0.0" + flutter: ">=3.27.0" dependencies: flutter: sdk: flutter flutter_blue_plus: ^1.34.5 - mutex: ^3.1.0 - rxdart: ^0.28.0 + mutex: ">=3.1.0 <4.0.0" + rxdart: ">=0.28.0 <1.0.0" lighthouse_back_end: path: ../../lighthouse_back_end lighthouse_provider: diff --git a/lighthouse_provider/lighthouse_back_ends/flutter_web_bluetooth_back_end/pubspec.yaml b/lighthouse_provider/lighthouse_back_ends/flutter_web_bluetooth_back_end/pubspec.yaml index bdd95d8e..687172ce 100644 --- a/lighthouse_provider/lighthouse_back_ends/flutter_web_bluetooth_back_end/pubspec.yaml +++ b/lighthouse_provider/lighthouse_back_ends/flutter_web_bluetooth_back_end/pubspec.yaml @@ -4,12 +4,12 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.5.4 <4.0.0" + sdk: ">=3.6.0 <4.0.0" dependencies: flutter_web_bluetooth: ^1.0.0 - mutex: ^3.1.0 - rxdart: ^0.28.0 + mutex: ">=3.1.0 <4.0.0" + rxdart: ">=0.28.0 <1.0.0" lighthouse_back_end: path: ../../lighthouse_back_end lighthouse_provider: @@ -18,5 +18,5 @@ dependencies: path: ../../lighthouse_logger dev_dependencies: - lints: ^5.0.0 - test: ^1.25.8 + lints: ">=5.1.0 <6.0.0" + test: ">=1.25.12 < 2.0.0" diff --git a/lighthouse_provider/lighthouse_logger/pubspec.yaml b/lighthouse_provider/lighthouse_logger/pubspec.yaml index 23769a43..d0ec6a39 100644 --- a/lighthouse_provider/lighthouse_logger/pubspec.yaml +++ b/lighthouse_provider/lighthouse_logger/pubspec.yaml @@ -4,11 +4,11 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.5.4 <4.0.0" + sdk: ">=3.6.0 <4.0.0" dependencies: - logging: ^1.3.0 + logging: ">=1.3.0 <2.0.0" dev_dependencies: - lints: ^5.0.0 - test: ^1.25.8 + lints: ">=5.1.0 <6.0.0" + test: ">=1.25.12 < 2.0.0" diff --git a/lighthouse_provider/lighthouse_provider/pubspec.yaml b/lighthouse_provider/lighthouse_provider/pubspec.yaml index a02d83d0..3df57f26 100644 --- a/lighthouse_provider/lighthouse_provider/pubspec.yaml +++ b/lighthouse_provider/lighthouse_provider/pubspec.yaml @@ -4,15 +4,15 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.5.4 <4.0.0" + sdk: ">=3.6.0 <4.0.0" dependencies: meta: ">=1.3.0 <2.0.0" - mutex: ^3.1.0 - rxdart: ^0.28.0 - tuple: ^2.0.2 - collection: ^1.18.0 - convert: ^3.1.2 + mutex: ">=3.1.0 <4.0.0" + rxdart: ">=0.28.0 <1.0.0" + tuple: ">=2.0.2 <3.0.0" + collection: ">=1.18.0 <2.0.0" + convert: ">=3.1.2 <4.0.0" lighthouse_back_end: path: ../lighthouse_back_end shared_platform: @@ -21,8 +21,8 @@ dependencies: path: ../lighthouse_logger dev_dependencies: - lints: ^5.0.0 - test: ^1.25.8 + lints: ">=5.1.0 <6.0.0" + test: ">=1.25.12 < 2.0.0" fake_back_end: path: ../lighthouse_back_ends/fake_back_end lighthouse_providers: diff --git a/lighthouse_provider/lighthouse_providers/pubspec.yaml b/lighthouse_provider/lighthouse_providers/pubspec.yaml index 37c5841c..9c8dcb36 100644 --- a/lighthouse_provider/lighthouse_providers/pubspec.yaml +++ b/lighthouse_provider/lighthouse_providers/pubspec.yaml @@ -4,12 +4,12 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.5.4 <4.0.0" + sdk: ">=3.6.0 <4.0.0" dependencies: flutter_web_bluetooth: ^1.0.0 meta: ">=1.3.0 <2.0.0" - rxdart: ^0.28.0 + rxdart: ">=0.28.0 <1.0.0" lighthouse_provider: path: ../lighthouse_provider lighthouse_back_end: @@ -20,8 +20,8 @@ dependencies: path: ../lighthouse_logger dev_dependencies: - lints: ^5.0.0 - test: ^1.25.8 + lints: ">=5.1.0 <6.0.0" + test: ">=1.25.12 < 2.0.0" fake_back_end: path: ../lighthouse_back_ends/fake_back_end lighthouse_test_helper: diff --git a/lighthouse_provider/lighthouse_test_helper/pubspec.yaml b/lighthouse_provider/lighthouse_test_helper/pubspec.yaml index c60f793c..878585bb 100644 --- a/lighthouse_provider/lighthouse_test_helper/pubspec.yaml +++ b/lighthouse_provider/lighthouse_test_helper/pubspec.yaml @@ -4,11 +4,11 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.5.4 <4.0.0" + sdk: ">=3.6.0 <4.0.0" dependencies: meta: ">=1.3.0 <2.0.0" - rxdart: ^0.28.0 + rxdart: ">=0.28.0 <1.0.0" shared_platform: path: ../../shared/shared_platform fake_back_end: @@ -19,7 +19,7 @@ dependencies: path: ../lighthouse_provider lighthouse_providers: path: ../lighthouse_providers - test: ^1.24.9 + test: ">=1.24.9 < 2.0.0" dev_dependencies: - lints: ^5.0.0 + lints: ">=5.1.0 <6.0.0" diff --git a/pubspec.lock b/pubspec.lock index 8338cf92..c641e1ea 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,23 +5,23 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834 + sha256: "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab" url: "https://pub.dev" source: hosted - version: "72.0.0" + version: "76.0.0" _macros: dependency: transitive description: dart source: sdk - version: "0.3.2" + version: "0.3.3" analyzer: dependency: transitive description: name: analyzer - sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139 + sha256: "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e" url: "https://pub.dev" source: hosted - version: "6.7.0" + version: "6.11.0" analyzer_plugin: dependency: transitive description: @@ -185,10 +185,10 @@ packages: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.19.0" community_material_icon: dependency: "direct main" description: @@ -209,10 +209,10 @@ packages: dependency: transitive description: name: coverage - sha256: "4b03e11f6d5b8f6e5bb5e9f7889a56fe6c5cbe942da5378ea4d4d7f73ef9dfe5" + sha256: e3493833ea012784c740e341952298f1cc77f1f01b1bbc3eb4eecf6984fb7f43 url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" crypto: dependency: transitive description: @@ -249,18 +249,18 @@ packages: dependency: "direct main" description: name: device_info_plus - sha256: f545ffbadee826f26f2e1a0f0cbd667ae9a6011cc0f77c0f8f00a969655e6e95 + sha256: "4fa68e53e26ab17b70ca39f072c285562cfc1589df5bb1e9295db90f6645f431" url: "https://pub.dev" source: hosted - version: "11.1.1" + version: "11.2.0" device_info_plus_platform_interface: dependency: transitive description: name: device_info_plus_platform_interface - sha256: "282d3cf731045a2feb66abfe61bbc40870ae50a3ed10a4d3d217556c35c8c2ba" + sha256: "0b04e02b30791224b31969eb1b50d723498f402971bff3630bca2ba839bd1ed2" url: "https://pub.dev" source: hosted - version: "7.0.1" + version: "7.0.2" drift: dependency: "direct main" description: @@ -453,10 +453,10 @@ packages: dependency: transitive description: name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + sha256: "76d306a1c3afb33fe82e2bbacad62a61f409b5634c915fceb0d799de1a913360" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.1.1" intl: dependency: "direct main" description: @@ -469,10 +469,10 @@ packages: dependency: transitive description: name: io - sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" + sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.0.5" js: dependency: transitive description: @@ -493,18 +493,18 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" + sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted - version: "10.0.5" + version: "10.0.7" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" + sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.8" leak_tracker_testing: dependency: transitive description: @@ -552,10 +552,10 @@ packages: dependency: transitive description: name: lints - sha256: "3315600f3fb3b135be672bf4a178c55f274bebe368325ae18462c89ac1e3b413" + sha256: "4a16b3f03741e1252fda5de3ce712666d010ba2122f8e912c94f9f7b90e1a4c3" url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "5.1.0" logging: dependency: "direct main" description: @@ -568,10 +568,10 @@ packages: dependency: transitive description: name: macros - sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536" + sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656" url: "https://pub.dev" source: hosted - version: "0.1.2-main.4" + version: "0.1.3-main.0" markdown: dependency: "direct main" description: @@ -640,26 +640,26 @@ packages: dependency: transitive description: name: package_config - sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" + sha256: "92d4488434b520a62570293fbd33bb556c7d49230791c1b4bbd973baf6d2dc67" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" package_info_plus: dependency: "direct main" description: name: package_info_plus - sha256: da8d9ac8c4b1df253d1a328b7bf01ae77ef132833479ab40763334db13b91cce + sha256: "70c421fe9d9cc1a9a7f3b05ae56befd469fe4f8daa3b484823141a55442d858d" url: "https://pub.dev" source: hosted - version: "8.1.1" + version: "8.1.2" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66 + sha256: a5ef9986efc7bf772f2696183a3992615baa76c1ffb1189318dd8803778fb05b url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.0.2" path: dependency: "direct main" description: @@ -688,18 +688,18 @@ packages: dependency: transitive description: name: path_provider_android - sha256: "8c4967f8b7cb46dc914e178daa29813d83ae502e0529d7b0478330616a691ef7" + sha256: "4adf4fd5423ec60a29506c76581bc05854c55e3a0b72d35bb28d661c9686edf2" url: "https://pub.dev" source: hosted - version: "2.2.14" + version: "2.2.15" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 + sha256: "4843174df4d288f5e29185bd6e72a6fbdf5a4a4602717eed565497429f179942" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.1" path_provider_linux: dependency: transitive description: @@ -816,10 +816,10 @@ packages: dependency: transitive description: name: pub_semver - sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" + sha256: "7b3cfbf654f3edd0c6298ecd5be782ce997ddf0e00531b9464b55245185bbbbd" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" pubspec_parse: dependency: transitive description: @@ -855,10 +855,10 @@ packages: dependency: transitive description: name: shelf - sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 + sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.4.2" shelf_packages_handler: dependency: transitive description: @@ -887,7 +887,7 @@ packages: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_gen: dependency: transitive description: @@ -908,10 +908,10 @@ packages: dependency: transitive description: name: source_maps - sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703" + sha256: "190222579a448b03896e0ca6eca5998fa810fda630c1d65e2f78b3f638f54812" url: "https://pub.dev" source: hosted - version: "0.10.12" + version: "0.10.13" source_span: dependency: transitive description: @@ -932,10 +932,10 @@ packages: dependency: transitive description: name: sqlite3_flutter_libs - sha256: "7ae52b23366e5295005022e62fa093f64bfe190810223ea0ebf733a4cd140bce" + sha256: "636b0fe8a2de894e5455572f6cbbc458f4ffecfe9f860b79439e27041ea4f0b9" url: "https://pub.dev" source: hosted - version: "0.5.26" + version: "0.5.27" sqlparser: dependency: transitive description: @@ -948,10 +948,10 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.12.0" stream_channel: dependency: transitive description: @@ -972,10 +972,10 @@ packages: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" term_glyph: dependency: transitive description: @@ -988,34 +988,34 @@ packages: dependency: transitive description: name: test - sha256: "7ee44229615f8f642b68120165ae4c2a75fe77ae2065b1e55ae4711f6cf0899e" + sha256: "713a8789d62f3233c46b4a90b174737b2c04cb6ae4500f2aa8b1be8f03f5e67f" url: "https://pub.dev" source: hosted - version: "1.25.7" + version: "1.25.8" test_api: dependency: transitive description: name: test_api - sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" + sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted - version: "0.7.2" + version: "0.7.3" test_core: dependency: transitive description: name: test_core - sha256: "55ea5a652e38a1dfb32943a7973f3681a60f872f8c3a05a14664ad54ef9c6696" + sha256: "12391302411737c176b0b5d6491f466b0dd56d4763e347b6714efbaa74d7953d" url: "https://pub.dev" source: hosted - version: "0.6.4" + version: "0.6.5" timing: dependency: transitive description: name: timing - sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" + sha256: "62ee18aca144e4a9f29d212f5a4c6a053be252b895ab14b5821996cff4ed90fe" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.0.2" toast: dependency: "direct main" description: @@ -1076,10 +1076,10 @@ packages: dependency: transitive description: name: url_launcher_ios - sha256: e43b677296fadce447e987a2f519dcf5f6d1e527dc35d01ffab4fff5b8a7063e + sha256: "16a513b6c12bb419304e72ea0ae2ab4fed569920d1c7cb850263fe3acc824626" url: "https://pub.dev" source: hosted - version: "6.3.1" + version: "6.3.2" url_launcher_linux: dependency: transitive description: @@ -1092,10 +1092,10 @@ packages: dependency: transitive description: name: url_launcher_macos - sha256: "769549c999acdb42b8bcfa7c43d72bf79a382ca7441ab18a808e101149daf672" + sha256: "17ba2000b847f334f16626a574c702b196723af2a289e7a93ffcb79acff855c2" url: "https://pub.dev" source: hosted - version: "3.2.1" + version: "3.2.2" url_launcher_platform_interface: dependency: transitive description: @@ -1172,10 +1172,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" + sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted - version: "14.2.5" + version: "14.3.0" watcher: dependency: transitive description: @@ -1265,5 +1265,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.5.4 <4.0.0" - flutter: ">=3.24.5" + dart: ">=3.6.0 <4.0.0" + flutter: ">=3.27.0" diff --git a/pubspec.yaml b/pubspec.yaml index c8ce1000..75f60ca9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -19,13 +19,14 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.3.2+14 environment: - sdk: ">=3.5.4 <4.0.0" + sdk: ">=3.6.0 <4.0.0" + flutter: ">=3.27.0" dependencies: flutter: sdk: flutter rxdart: ^0.28.0 - package_info_plus: ^8.1.1 + package_info_plus: ^8.1.2 permission_handler: ^11.3.1 flutter_svg: ^2.0.16 url_launcher: ^6.3.1 @@ -43,9 +44,9 @@ dependencies: provider: ^6.1.2 tuple: ^2.0.2 intl: ^0.20.1 - device_info_plus: ^11.1.1 + device_info_plus: ^11.2.0 meta: ^1.15.0 - flutter_markdown: ^0.7.4+1 + flutter_markdown: ^0.7.4+3 markdown: ^7.2.2 # Android/ iOS flutter_blue_plus_back_end: diff --git a/shared/shared_platform/pubspec.yaml b/shared/shared_platform/pubspec.yaml index a91035a1..6725492f 100644 --- a/shared/shared_platform/pubspec.yaml +++ b/shared/shared_platform/pubspec.yaml @@ -4,11 +4,11 @@ version: 1.0.0 publish_to: none environment: - sdk: ">=3.5.4 <4.0.0" + sdk: ">=3.6.0 <4.0.0" dependencies: meta: ">=1.3.0 <2.0.0" dev_dependencies: - lints: ^5.0.0 - test: ^1.25.8 + lints: ">=5.1.0 <6.0.0" + test: ">=1.25.12 < 2.0.0" diff --git a/test/helpers/fake_device_info.dart b/test/helpers/fake_device_info.dart index 1f2bc9ce..a12a31cf 100644 --- a/test/helpers/fake_device_info.dart +++ b/test/helpers/fake_device_info.dart @@ -52,9 +52,11 @@ class FakeIOSDeviceInfo extends BaseDeviceInfo { 'systemName': 'Darwin?', 'systemVersion': systemVersion ?? '0.0', 'model': 'phone with an i somewhere', + 'modelName': 'phone with an i somewhere', 'localizedModel': 'phone with an i somewhere', 'identifierForVendor': null, 'isPhysicalDevice': false, + 'isiOSAppOnMac': false, 'utsname': { 'sysname': 'THIS_PC', 'nodename': 'localhost',