From ca0c3ed803713223ddcaf56d7b13321754854671 Mon Sep 17 00:00:00 2001 From: Rick van Dijk Date: Mon, 30 Nov 2026 16:33:24 +0800 Subject: [PATCH 1/3] [geocoding_platform_interface]: Raise minimum SDK to Dart 3.12 and Flutter 3.44 Linear: FPL-58 Co-Authored-By: Claude Opus 5.5 --- geocoding_platform_interface/CHANGELOG.md | 4 ++++ geocoding_platform_interface/pubspec.yaml | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/geocoding_platform_interface/CHANGELOG.md b/geocoding_platform_interface/CHANGELOG.md index 03e61bd..3d1bd93 100644 --- a/geocoding_platform_interface/CHANGELOG.md +++ b/geocoding_platform_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 5.1.0 + +- Raises the minimum SDK to Dart 3.12 and Flutter 3.44. + ## 5.0.0 - **BREAKING CHANGES:** diff --git a/geocoding_platform_interface/pubspec.yaml b/geocoding_platform_interface/pubspec.yaml index 6826d7b..d49846c 100644 --- a/geocoding_platform_interface/pubspec.yaml +++ b/geocoding_platform_interface/pubspec.yaml @@ -3,11 +3,11 @@ description: A common platform interface for the geocoding plugin. homepage: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_platform_interface # NOTE: We strongly prefer non-breaking changes, even at the expense of a # less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes -version: 5.0.0 +version: 5.1.0 environment: - sdk: ^3.8.1 - flutter: ">=3.7.0" + sdk: ^3.12.0 + flutter: ">=3.44.0" dependencies: flutter: From 30c64f570fe263a39745f334a18aad6bc954c2b5 Mon Sep 17 00:00:00 2001 From: Rick van Dijk Date: Mon, 30 Nov 2026 16:33:59 +0800 Subject: [PATCH 2/3] [geocoding_platform_interface]: Apply dart format Co-Authored-By: Claude Opus 5.5 --- .../test/src/geocoding_test.mocks.dart | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/geocoding_platform_interface/test/src/geocoding_test.mocks.dart b/geocoding_platform_interface/test/src/geocoding_test.mocks.dart index aba4b61..53e22a7 100644 --- a/geocoding_platform_interface/test/src/geocoding_test.mocks.dart +++ b/geocoding_platform_interface/test/src/geocoding_test.mocks.dart @@ -35,15 +35,14 @@ class MockGeocodingPlatformFactory extends _i1.Mock @override _i2.Geocoding createGeocoding(_i4.GeocodingCreationParams? params) => (super.noSuchMethod( - Invocation.method(#createGeocoding, [params]), - returnValue: _FakeGeocoding_0( - this, - Invocation.method(#createGeocoding, [params]), - ), - returnValueForMissingStub: _FakeGeocoding_0( - this, - Invocation.method(#createGeocoding, [params]), - ), - ) - as _i2.Geocoding); + Invocation.method(#createGeocoding, [params]), + returnValue: _FakeGeocoding_0( + this, + Invocation.method(#createGeocoding, [params]), + ), + returnValueForMissingStub: _FakeGeocoding_0( + this, + Invocation.method(#createGeocoding, [params]), + ), + ) as _i2.Geocoding); } From 531fc678b411c350bd49e11dc44ea4e23213ecc9 Mon Sep 17 00:00:00 2001 From: Rick van Dijk Date: Mon, 30 Nov 2026 16:47:04 +0800 Subject: [PATCH 3/3] [geocoding_platform_interface]: Apply dart format from Flutter 3.50.1 CI runs the latest stable (3.50.1, Dart 3.14), whose formatter lays out the generated mocks differently than 3.47.4 did. Co-Authored-By: Claude Opus 5.5 --- .../test/src/geocoding_test.mocks.dart | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/geocoding_platform_interface/test/src/geocoding_test.mocks.dart b/geocoding_platform_interface/test/src/geocoding_test.mocks.dart index 53e22a7..aba4b61 100644 --- a/geocoding_platform_interface/test/src/geocoding_test.mocks.dart +++ b/geocoding_platform_interface/test/src/geocoding_test.mocks.dart @@ -35,14 +35,15 @@ class MockGeocodingPlatformFactory extends _i1.Mock @override _i2.Geocoding createGeocoding(_i4.GeocodingCreationParams? params) => (super.noSuchMethod( - Invocation.method(#createGeocoding, [params]), - returnValue: _FakeGeocoding_0( - this, - Invocation.method(#createGeocoding, [params]), - ), - returnValueForMissingStub: _FakeGeocoding_0( - this, - Invocation.method(#createGeocoding, [params]), - ), - ) as _i2.Geocoding); + Invocation.method(#createGeocoding, [params]), + returnValue: _FakeGeocoding_0( + this, + Invocation.method(#createGeocoding, [params]), + ), + returnValueForMissingStub: _FakeGeocoding_0( + this, + Invocation.method(#createGeocoding, [params]), + ), + ) + as _i2.Geocoding); }