Skip to content

Fix analyzer failures caused by the material.dart deprecation - #1217

Merged
seungsoo47 merged 2 commits into
flutter-tizen:mainfrom
seungsoo47:fix-material-deprecation
Nov 13, 2026
Merged

seungsoo47 merged 2 commits into
flutter-tizen:mainfrom
seungsoo47:fix-material-deprecation

Conversation

@seungsoo47

Copy link
Copy Markdown
Contributor

Flutter 3.50.0 deprecates package:flutter/material.dart in favor of package:material_ui, which makes dart_analyze fail for every example that imports it.

  • sqflite: migrate the example to package:material_ui and raise its Dart SDK constraint to ^3.13.0, following the upstream sqflite example.
  • Other packages, whose upstream examples still use material.dart: ignore deprecated_member_use, as the root analysis_options.yaml already does.

Flutter 3.50.0 deprecates package:flutter/material.dart in favor of
package:material_ui, which makes dart_analyze fail for every example that
imports it.

- sqflite: migrate the example to package:material_ui and raise its Dart
  SDK constraint to ^3.13.0, following the upstream sqflite example.
- Other packages, whose upstream examples still use material.dart: ignore
  deprecated_member_use, as the root analysis_options.yaml already does.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T05:27:12.158427Z 9798273 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Raising the example's SDK constraint to ^3.13.0 changes the formatter
style applied to it.
@seungsoo47
seungsoo47 merged commit e8afaef into flutter-tizen:main Nov 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants