Skip to content

refactor(app): move from flutter/material.dart to material_ui and unpin CI - #14

Merged
CsPS0 merged 1 commit into
mainfrom
feat/material-ui
Nov 18, 2026
Merged

CsPS0 merged 1 commit into
mainfrom
feat/material-ui

Conversation

@CsPS0

@CsPS0 CsPS0 commented Nov 18, 2026

Copy link
Copy Markdown
Owner

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.dart in favour of the material_ui package, and flutter analyze reported every import as an info. That broke CI on stable, so CI was pinned to 3.47.9 as a stopgap.

  • app/pubspec.yaml now depends on material_ui: ^1.11.1, which needs Flutter 3.47 or newer.
  • All 45 files in app/lib and app/test import package:material_ui/material_ui.dart. No other API changes were needed.
  • app/pubspec.lock follows the Flutter 3.50 SDK pins (test_api 0.7.14, vector_math 2.4.4), so CI must run 3.50 or newer.
  • CI's desktop-app job no longer pins Flutter 3.47.9.
  • The release workflow was already on stable and 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.dart internally. None of them pass Material types to the app, so the two copies don't clash.

Checks (Flutter 3.50.0)

  • flutter analyze in app/: no issues (it reported 45 deprecation infos before)
  • flutter test in app/: all pass
  • flutter build windows --debug: succeeds
  • dart analyze --fatal-infos lib bin test: clean
  • dart test: 202 pass

🤖 Generated with Claude Code

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pala Ready Ready Preview Nov 18, 2026 8:16pm UTC

@CsPS0
CsPS0 force-pushed the feat/chat-alerts-in-app branch from 5e1cbed to dff3f61 Compare November 18, 2026 20:15
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
CsPS0 changed the base branch from feat/chat-alerts-in-app to main November 18, 2026 20:15
@CsPS0
CsPS0 merged commit 92d6aba into main Nov 18, 2026
5 of 6 checks passed
@CsPS0
CsPS0 deleted the feat/material-ui branch November 18, 2026 20:16
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