Publish the material_ui migration of devtools_extensions and devtools_app_shared

オープン
#10,062 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
12/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
dart

調査の方向性

This is a maintainer release task, not a code change. Start with tool/RELEASE_INSTRUCTIONS.md for the publish order, then check the devtools_shared 14.0.1, devtools_app_shared and devtools_extensions pubspecs on master. Raise the devtools_app_shared constraint in devtools_extensions to the material_ui release, and add the material_ui switch to both changelogs. Done means the three packages are published on pub.dev with matching constraints.

索引モデルが issue の本文から書いたものです。

説明

devtools-extensions

Summary

devtools_extensions and devtools_app_shared on pub.dev are still the May 4, 2026 releases (0.5.1). Both import package:flutter/material.dart. Flutter beta deprecates that library, and extension authors cannot switch to package:material_ui until these packages are published, because DevToolsExtension builds its own MaterialApp from whichever Material library it was compiled against.

The migration already landed on master in https://github.com/flutter/devtools/pull/10016 (September 24, 2026) and is in the DevTools 2.61.0 tag. Both packages are 0.5.2-wip there and depend on material_ui: ^1.4.0. That DevTools release shipped the app into the Dart SDK only. tool/RELEASE_INSTRUCTIONS.md publishes devtools_extensions, devtools_app_shared, and devtools_shared separately, as needed, and this publish was never requested. There is no open issue tracking it.

Downstream example: https://github.com/IO-Design-Team/hive_ce/issues/350. The Hive inspector is holding deprecated_member_use ignores on package:flutter/material.dart until a pub.dev release exists. TextTheme.of and ScaffoldMessenger.of only see the theme installed by DevToolsExtension when the inspector imports the same Material library.

What is on pub.dev today

Package pub.dev master / v2.61.0
devtools_extensions 0.5.1 (May 4, 2026). Imports package:flutter/material.dart. No material_ui dependency. 0.5.2-wip, material_ui: ^1.4.0
devtools_app_shared 0.5.1 (May 4, 2026). Same Flutter Material imports. 0.5.2-wip, material_ui: ^1.4.0
devtools_shared 14.0.0 (July 14, 2026) 14.0.1, unpublished

The unpublished SDK floor (sdk: ^3.11.0, flutter: ^3.41.0) is already behind stable (Flutter 3.47.9 / Dart 3.13.7).

Publish prep

These three things are still open on master, so this is not a version-number drop:

  1. Publish devtools_shared 14.0.1 first. devtools_extensions and devtools_app_shared constrain it to ^14.0.1, and 14.0.0 is the newest version on pub.dev.
  2. Raise devtools_extensions's devtools_app_shared constraint. It is still ^0.5.1, which resolves to the published package that imports package:flutter/material.dart. The lower bound needs to be the material_ui release of devtools_app_shared.
  3. Note the material_ui switch in both changelogs. The 0.5.2-wip notes do not mention it. This is breaking for extension UIs: DevToolsExtension builds a material_ui MaterialApp, and shared widgets take Material types from that library (for example DevToolsToggleButton.shape is OutlinedBorder). Theme lookups (TextTheme.of, ScaffoldMessenger.of) read a different inherited widget than package:flutter/material.dart.

Please publish devtools_app_shared and devtools_extensions together once those constraints match.

主要言語
Dart
スター
1.7k
フォーク
420
平均マージ
3日 11時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

flutter/devtools のほかの issue

flutter/devtools の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。