Skip to content

Migrate to material_ui / cupertino_ui packages (fix Flutter 3.50 deprecation warnings) - #53

Merged
woutervanwijk merged 1 commit into
mainfrom
migrate-to-material-ui-cupertino-ui
Nov 14, 2026
Merged

woutervanwijk merged 1 commit into
mainfrom
migrate-to-material-ui-cupertino-ui

Conversation

@woutervanwijk

Copy link
Copy Markdown
Owner

Flutter 3.50 deprecates package:flutter/material.dart and package:flutter/cupertino.dart in favor of the standalone official packages material_ui and cupertino_ui.

Changes:

  • Add material_ui: ^1.11.0 and cupertino_ui: ^1.1.6 to pubspec.yaml
  • Replace the deprecated imports in 218 Dart files (lib/, test/, tooling scripts)
  • Wrap a bare early-return in a block in lib/services/html_service.dart (remaining lint)

Verification:

  • flutter analyze: No issues found! (was 77 deprecated_member_use infos)
  • flutter test: all 1389 tests passed

…al_ui and cupertino_ui packages

Flutter 3.50 deprecates package:flutter/material.dart and
package:flutter/cupertino.dart in favor of the standalone official
packages material_ui and cupertino_ui. Add both dependencies and
replace the imports across lib/, test/ and tooling scripts so
flutter analyze reports no issues.

Also wrap a bare early-return in a block in html_service.dart to
clear the remaining curly_braces lint.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@woutervanwijk
woutervanwijk merged commit 634b16f into main Nov 14, 2026
1 check passed
@woutervanwijk
woutervanwijk deleted the migrate-to-material-ui-cupertino-ui branch November 14, 2026 11:20
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