Repository navigation
refactor(app): move from flutter/material.dart to material_ui and unpin CI - #14
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
CsPS0
force-pushed
the
feat/chat-alerts-in-app
branch
from
November 18, 2026 20:15
5e1cbed to
dff3f61
Compare
Flutter 3.50 deprecates package:flutter/material.dart in favour of the material_ui package, and flutter analyze reported every import as an info. The app now depends on material_ui ^1.11.1 and imports package:material_ui/material_ui.dart in all 45 files. No other API changes were needed. The lockfile follows the Flutter 3.50 SDK pins. CI's desktop-app job no longer pins Flutter 3.47.9. The release workflow was already on stable and needs no change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CsPS0
force-pushed
the
feat/material-ui
branch
from
November 18, 2026 20:15
067c9c5 to
684becc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #13, which is stacked on #12: merge #12, then #13, then this one. GitHub retargets each PR when the one below it merges.
Flutter 3.50 deprecates
package:flutter/material.dartin favour of thematerial_uipackage, andflutter analyzereported every import as an info. That broke CI on stable, so CI was pinned to 3.47.9 as a stopgap.app/pubspec.yamlnow depends onmaterial_ui: ^1.11.1, which needs Flutter 3.47 or newer.app/libandapp/testimportpackage:material_ui/material_ui.dart. No other API changes were needed.app/pubspec.lockfollows the Flutter 3.50 SDK pins (test_api0.7.14,vector_math2.4.4), so CI must run 3.50 or newer.stableand needs no change. It builds with 3.50 like CI.The app's plugins (awesome_notifications, webview_flutter, url_launcher_web) still import the SDK's
material.dartinternally. None of them pass Material types to the app, so the two copies don't clash.Checks (Flutter 3.50.0)
flutter analyzeinapp/: no issues (it reported 45 deprecation infos before)flutter testinapp/: all passflutter build windows --debug: succeedsdart analyze --fatal-infos lib bin test: cleandart test: 202 pass🤖 Generated with Claude Code