Publish the material_ui migration of devtools_extensions and devtools_app_shared

Offen
#10,062 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
12/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
dart

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
420
Ø Merge
3 T. 11 Std.
Gemergte PRs (30 T.)
29

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus flutter/devtools

Alle Issues in flutter/devtools

Ähnliche Issues

Weitere Issues zu Dart

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.