Skip to content

[material_ui] Add material_ui package#11043

Merged
auto-submit[bot] merged 9 commits intoflutter:mainfrom
Piinks:material_ui
Feb 18, 2026
Merged

[material_ui] Add material_ui package#11043
auto-submit[bot] merged 9 commits intoflutter:mainfrom
Piinks:material_ui

Conversation

@Piinks
Copy link
Contributor

@Piinks Piinks commented Feb 17, 2026

Creates the material_ui package in preparation for decoupling.
Once published, this will be marked as unlisted (to be done in pub.dev dashboard) until the primary code move from the framework takes place.

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the new material_ui package as part of the effort to decouple the Material library from the Flutter framework. The changes include the necessary boilerplate for a new Dart package, such as the pubspec.yaml, README.md, and a placeholder library file that re-exports package:flutter/material.dart. The overall structure is sound. I have one suggestion to enhance the pubspec.yaml for better package presentation on pub.dev.

@@ -0,0 +1,22 @@
name: material_ui
description: The Flutter Material Design Library

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The package description is quite brief. For better discoverability and to provide more context for users on pub.dev, it's recommended to have a description between 60 and 180 characters. A more detailed description would help developers understand the package's purpose at a glance.

description: The official Flutter package for Material Design, providing a rich set of widgets to build UIs that follow the Material Design specification.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this may actually fail publishing because of a pub warning, so we should fix this (in both packages).

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comments as #11042

@@ -0,0 +1,22 @@
name: material_ui
description: The Flutter Material Design Library
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this may actually fail publishing because of a pub warning, so we should fix this (in both packages).

@Piinks
Copy link
Contributor Author

Piinks commented Feb 17, 2026

The CI! It passes! 🥳

Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Once this lands and publishes I'll go update the publisher to flutter.dev (this has to be done manually for each new package); if I forget and you see it showing unverified publisher, just ping me.

@Piinks Piinks added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 18, 2026
@auto-submit auto-submit bot merged commit 2684fe0 into flutter:main Feb 18, 2026
81 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 19, 2026
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Feb 19, 2026
flutter/packages@59f905c...9da22bf

2026-02-19 [email protected] [cupertino_ui, material_ui] Fix capitalization
in README section headers (flutter/packages#11058)
2026-02-18 [email protected] Manual roll Flutter from
6e4a481 to c023e5b (17 revisions) (flutter/packages#11060)
2026-02-18 [email protected] [vector_graphics_compiler] support
percentage units SVG shape attributes (flutter/packages#10577)
2026-02-18 [email protected] [local_auth] Convert example app to
Swift (flutter/packages#11003)
2026-02-18 [email protected] [ci] Fix syntax error in auto-labeler
(flutter/packages#11052)
2026-02-18 [email protected] Refactor Github Action per
b/485167538 (flutter/packages#11051)
2026-02-18 [email protected] [material_ui] Add material_ui package
(flutter/packages#11043)
2026-02-18 [email protected] [cupertino_ui] Add cupertino_ui package
(flutter/packages#11042)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
ahmedsameha1 pushed a commit to ahmedsameha1/flutter that referenced this pull request Feb 27, 2026
…r#182611)

flutter/packages@59f905c...9da22bf

2026-02-19 [email protected] [cupertino_ui, material_ui] Fix capitalization
in README section headers (flutter/packages#11058)
2026-02-18 [email protected] Manual roll Flutter from
6e4a481 to c023e5b (17 revisions) (flutter/packages#11060)
2026-02-18 [email protected] [vector_graphics_compiler] support
percentage units SVG shape attributes (flutter/packages#10577)
2026-02-18 [email protected] [local_auth] Convert example app to
Swift (flutter/packages#11003)
2026-02-18 [email protected] [ci] Fix syntax error in auto-labeler
(flutter/packages#11052)
2026-02-18 [email protected] Refactor Github Action per
b/485167538 (flutter/packages#11051)
2026-02-18 [email protected] [material_ui] Add material_ui package
(flutter/packages#11043)
2026-02-18 [email protected] [cupertino_ui] Add cupertino_ui package
(flutter/packages#11042)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: material_ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants