Skip to content

[geocoding_platform_interface]: Raise minimum SDK to Dart 3.12 and Flutter 3.44 - #338

Draft
rickdijk wants to merge 3 commits into
mainfrom
rick/fpl-58-sdk-3-12-geocoding_platform_interface
Draft

rickdijk wants to merge 3 commits into
mainfrom
rick/fpl-58-sdk-3-12-geocoding_platform_interface

Conversation

@rickdijk

@rickdijk rickdijk commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Raises the SDK floor of geocoding_platform_interface to Dart ^3.12.0 and Flutter >=3.44.0, matching the Flutter team's own packages (FPL-48).

  • environment: → sdk: ^3.12.0, flutter: ">=3.44.0". Dependency constraints unchanged.
  • Version 5.0.0 → 5.1.0, CHANGELOG entry added.
  • Separate commit: dart format . (stable 3.47.4) reformats test/src/geocoding_test.mocks.dart.

Merge order (FPL-48): 1. geocoding_platform_interface → 2. geocoding_darwin (geocoding_android is already on ^3.12.0 / >=3.44.0, no PR) → 3. geocoding. Maurits merges and releases. This PR goes first.

Linear: FPL-58

Verification (run in geocoding_platform_interface/)

Check Flutter 3.44.9 Flutter stable 3.47.4
flutter pub get ✅ ✅
flutter analyze ✅ No issues ✅ No issues
flutter test ✅ 42 passed ✅ 42 passed
pub downgrade + analyze ❌ 2 errors n/a

Downgrade failure (pre-existing, not worked around): with lowest versions, plugin_platform_interface resolves to 2.0.x, which has no PlatformInterface.verify:

error • The method 'verify' isn't defined for the type 'PlatformInterface' • lib/src/geocoding.dart:28:23
error • The method 'verify' isn't defined for the type 'PlatformInterface' • lib/src/geocoding_platform_factory.dart:31:23

The constraint plugin_platform_interface: ^2.0.0 should be ^2.1.0 (where verify was added). Left alone here because this PR does not touch dependency constraints; worth a follow-up.

CI note

CI uses the latest stable, currently Flutter 3.50.1 / Dart 3.14. Its formatter lays out test/src/geocoding_test.mocks.dart differently from 3.47.4, so the first CI run failed dart format --set-exit-if-changed. A follow-up commit applies the 3.50.1 formatter output. With 3.50.1 locally: format clean, flutter analyze no issues, 42 tests pass.

🤖 Generated with Claude Code

rickdijk and others added 3 commits November 30, 2026 16:33
…utter 3.44

Linear: FPL-58

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant