From 015f6eb826b6ad61a6c108c1d7b46655f1f8ce88 Mon Sep 17 00:00:00 2001 From: tim Hoogstrate Date: Mon, 24 Feb 2025 12:06:48 +0100 Subject: [PATCH] Updates windows project --- geolocator_windows/CHANGELOG.md | 5 +++++ geolocator_windows/example/lib/main.dart | 2 +- geolocator_windows/example/pubspec.yaml | 2 +- geolocator_windows/pubspec.yaml | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/geolocator_windows/CHANGELOG.md b/geolocator_windows/CHANGELOG.md index 7fd8ebe6c..7fb62291f 100644 --- a/geolocator_windows/CHANGELOG.md +++ b/geolocator_windows/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.2.4 + +* Updates dart SDk to `sdk: ^3.5.0` +* Fixed analyzzer issues example project + ## 0.2.3 * Fixes crash under Windows when RequestAcess is called while the Geolocation Service is disabled. (#1455) diff --git a/geolocator_windows/example/lib/main.dart b/geolocator_windows/example/lib/main.dart index 2e09b1da7..d5520fc80 100644 --- a/geolocator_windows/example/lib/main.dart +++ b/geolocator_windows/example/lib/main.dart @@ -16,7 +16,7 @@ void main() { /// Example [Widget] showing the functionalities of the geolocator plugin class GeolocatorWidget extends StatefulWidget { /// Creates a new GeolocatorWidget. - const GeolocatorWidget({Key? key}) : super(key: key); + const GeolocatorWidget({super.key}); /// Utility method to create a page with the Baseflow templating. static ExamplePage createPage() { diff --git a/geolocator_windows/example/pubspec.yaml b/geolocator_windows/example/pubspec.yaml index 90fa2905c..862788cf2 100644 --- a/geolocator_windows/example/pubspec.yaml +++ b/geolocator_windows/example/pubspec.yaml @@ -6,7 +6,7 @@ description: Demonstrates how to use the geolocator_windows plugin. publish_to: 'none' # Remove this line if you wish to publish to pub.dev environment: - sdk: ">=2.15.0 <3.0.0" + sdk: ^3.5.0 dependencies: baseflow_plugin_template: ^2.1.2 diff --git a/geolocator_windows/pubspec.yaml b/geolocator_windows/pubspec.yaml index 5ae186554..41d3ead3f 100644 --- a/geolocator_windows/pubspec.yaml +++ b/geolocator_windows/pubspec.yaml @@ -2,10 +2,10 @@ name: geolocator_windows description: Geolocation Windows plugin for Flutter. This plugin provides the Windows implementation for the geolocator. repository: https://github.com/baseflow/flutter-geolocators issue_tracker: https://github.com/baseflow/flutter-geolocator/issues?q=is%3Aissue+is%3Aopen -version: 0.2.3 +version: 0.2.4 environment: - sdk: ">=2.15.0 <4.0.0" + sdk: ^3.5.0 flutter: ">=2.8.0" flutter: