From e7178ff74d938d7522f80574fa623187e8f12e98 Mon Sep 17 00:00:00 2001 From: Yaros Date: Fri, 1 Nov 2024 21:03:49 +0100 Subject: [PATCH] Upgraded deps --- lib/layouts/home.dart | 18 +++++++++--------- macos/Podfile.lock | 2 +- packages/dji_waypoint_engine/lib/engine.dart | 2 +- .../litchi_waypoint_engine/lib/engine.dart | 2 +- pubspec.lock | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/layouts/home.dart b/lib/layouts/home.dart index af4e1c8..a2b6ba1 100644 --- a/lib/layouts/home.dart +++ b/lib/layouts/home.dart @@ -241,15 +241,15 @@ class _HomeLayoutState extends State with TickerProviderStateMixin { userAgentPackageName: 'com.yarosfpv.dji_mapper', subdomains: const ['mt0', 'mt1', 'mt2', 'mt3']), PolygonLayer(polygons: [ - Polygon( - points: listenables.polygon, - color: Theme.of(context) - .colorScheme - .primary - .withOpacity(0.3), - isFilled: true, - borderColor: Theme.of(context).colorScheme.primary, - borderStrokeWidth: 3), + if (listenables.polygon.length > 1) + Polygon( + points: listenables.polygon, + color: Theme.of(context) + .colorScheme + .primary + .withOpacity(0.3), + borderColor: Theme.of(context).colorScheme.primary, + borderStrokeWidth: 3), ]), PolylineLayer(polylines: [ listenables.flightLine ?? Polyline(points: []) diff --git a/macos/Podfile.lock b/macos/Podfile.lock index 334f6b8..e78495c 100644 --- a/macos/Podfile.lock +++ b/macos/Podfile.lock @@ -38,7 +38,7 @@ SPEC CHECKSUMS: dynamic_color: 2eaa27267de1ca20d879fbd6e01259773fb1670f FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 geolocator_apple: 72a78ae3f3e4ec0db62117bd93e34523f5011d58 - package_info_plus: fa739dd842b393193c5ca93c26798dff6e3d0e0c + package_info_plus: f5790acc797bf17c3e959e9d6cf162cc68ff7523 shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 url_launcher_macos: 5f437abeda8c85500ceb03f5c1938a8c5a705399 diff --git a/packages/dji_waypoint_engine/lib/engine.dart b/packages/dji_waypoint_engine/lib/engine.dart index afbb9da..aea0514 100644 --- a/packages/dji_waypoint_engine/lib/engine.dart +++ b/packages/dji_waypoint_engine/lib/engine.dart @@ -1,4 +1,4 @@ -library dji_waypoint_engine; +library; export 'src/enums.dart'; export 'src/action_function_parameters.dart'; diff --git a/packages/litchi_waypoint_engine/lib/engine.dart b/packages/litchi_waypoint_engine/lib/engine.dart index b7b2b73..9b4475f 100644 --- a/packages/litchi_waypoint_engine/lib/engine.dart +++ b/packages/litchi_waypoint_engine/lib/engine.dart @@ -1,4 +1,4 @@ -library litchi_waypoint_engine; +library; export 'src/enums.dart'; export 'src/waypoint.dart'; diff --git a/pubspec.lock b/pubspec.lock index 9870941..e41cabc 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -820,5 +820,5 @@ packages: source: hosted version: "6.5.0" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.22.0"