Skip to content

[material_ui] Use super parameters in more places - #12460

Merged
srawlins merged 6 commits into
flutter:mainfrom
srawlins:use-super-mat
Sep 2, 2026
Merged

[material_ui] Use super parameters in more places#12460
srawlins merged 6 commits into
flutter:mainfrom
srawlins:use-super-mat

Conversation

@srawlins

Copy link
Copy Markdown
Contributor

This is work towards dart-lang/sdk#59226

The lint rule use_super_parameters has a bug such that it didn't previously report these cases. But they will be reported soon.

Pre-Review Checklist

Test exempt, as this code is covered by existing static and runtime checks.

This is work towards dart-lang/sdk#59226

The lint rule use_super_parameters has a bug such that it didn't previously
report these cases. But they will be reported soon.
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Aug 13, 2026
@github-actions github-actions Bot added triage-framework Should be looked at in framework triage p: material_ui labels Aug 13, 2026

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

Copy link
Copy Markdown
Contributor

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 refactors constructors in several files, including drawer.dart, dropdown_menu_form_field.dart, input_decorator.dart, and will_pop_test.dart, to use Dart's super-initializer parameters instead of manually passing arguments to the super constructor. There are no review comments, and I have no feedback to provide.

@Piinks Piinks added triage-design Should be looked at in design triage and removed triage-framework Should be looked at in framework triage labels Aug 17, 2026
@dkwingsmt
dkwingsmt requested a review from elliette August 19, 2026 18:35
@elliette elliette added the override: no versioning needed Override the check requiring version bumps for most changes label Aug 21, 2026
@elliette

Copy link
Copy Markdown
Member

@elliette elliette removed the override: no versioning needed Override the check requiring version bumps for most changes label Aug 21, 2026
Comment thread packages/material_ui/CHANGELOG.md
@srawlins
srawlins merged commit 955fd5d into flutter:main Sep 2, 2026
11 of 13 checks passed
@srawlins
srawlins deleted the use-super-mat branch September 2, 2026 02:56
pull Bot pushed a commit to Mu-L/flutter that referenced this pull request Sep 2, 2026
…r#192191)

flutter/packages@7a7912f...18fe786

2026-09-02 32538273+ValentinVignal@users.noreply.github.com
[path_parsing] Fix deprecation lints (flutter/packages#12704)
2026-09-02 srawlins@google.com [material_ui] Use super parameters in
more places (flutter/packages#12460)
2026-09-02 21270878+elliette@users.noreply.github.com [material_ui] Add
a README and placeholders for migrating gen_defaults templates
(flutter/packages#12714)
2026-09-01 victor.orozco@cloudsufi.com [image_picker] Add native tests
for image, metadata, photo-asset, and PHPicker save utilities
(flutter/packages#12536)
2026-09-01 lozhkovoi@gmail.com [material_ui] Port routes_transition_test
to material_ui (flutter/packages#12634)
2026-09-01 engine-flutter-autoroll@skia.org Roll Flutter from
c8c5e3b to 0cbd1a4 (23 revisions) (flutter/packages#12712)
2026-09-01 32538273+ValentinVignal@users.noreply.github.com
[material_ui] Remove !chrome in text_field_test.dart
(flutter/packages#12548)

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 flutter-ecosystem@google.com 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

CICD Run CI/CD p: material_ui triage-design Should be looked at in design triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants