Skip to content

Publish the material_ui migration of devtools_extensions and devtools_app_shared #10062

Todo

Description

@cursor

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 #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: IO-Design-Team/hive_ce#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.

Activity

  1. added
    devtools-extensions
    on Oct 31, 2026
  2. 3i-management commented on Nov 25, 2026

    @3i-management

    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.

  3. self-assigned this
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

devtools-extensions

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions