Skip to content

Fix linter errors and dependency resolution for Flutter 3.44#94

Open
cdavis-code wants to merge 2 commits into
ardera:mainfrom
cdavis-code:fix/linter-errors-and-deps
Open

Fix linter errors and dependency resolution for Flutter 3.44#94
cdavis-code wants to merge 2 commits into
ardera:mainfrom
cdavis-code:fix/linter-errors-and-deps

Conversation

@cdavis-code

Copy link
Copy Markdown

Summary

Fixes all dart analyze errors and warnings that surfaced after upgrading to Flutter 3.44, and resolves a pub get version conflict with the test package.

Changes

Linter error fixes

  • lib/src/authenticating_artifact_updater.dart: Implement formatProgressMessage, resetProgressContext, and setProgressContext — new abstract members on ArtifactUpdater in the Flutter SDK.
  • lib/src/more_os_utils.dart: Add missing HostPlatform.linux_riscv64 case to the fpiHostPlatform switch expression, mapping it to FlutterpiHostPlatform.linuxRV64.
  • test/src/fake_flutter_version.dart: Implement deleteVersionFile — new abstract member on FlutterVersion.
  • test/src/test_feature_flags.dart: Implement isAccessibilityEvaluationsEnabled and isRiscv64SupportEnabled — new abstract getters on FeatureFlags.

Dependency resolution

  • pubspec.yaml: Downgrade test constraint from ^1.31.1 to ^1.31.0. The test >=1.31.1 requires test_core 0.6.18, but flutter_tools from the Flutter SDK pins test_core 0.6.17, causing pub get to fail.

Verification

dart analyze reports no issues (previously 5 errors + 4 warnings).
dart pub get resolves successfully.

Chris D added 2 commits June 25, 2026 15:52
- Implement new abstract members on ArtifactUpdater (formatProgressMessage,
  resetProgressContext, setProgressContext) in AuthenticatingArtifactUpdater
- Add missing HostPlatform.linux_riscv64 case in fpiHostPlatform switch
- Implement deleteVersionFile in FakeFlutterVersion
- Implement isAccessibilityEvaluationsEnabled and isRiscv64SupportEnabled
  in TestFeatureFlags
- Downgrade test constraint from ^1.31.1 to ^1.31.0 to resolve test_core
  version conflict with flutter_tools SDK dependency

dart analyze now reports no issues.
- Add 0.12.0 changelog entry for Flutter 3.44 compatibility
- Add missing 'test' command to help output in README
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