Skip to content

[cupertino_ui] Remove unused parameters from constructors of generic classes. - #12457

Open
srawlins wants to merge 1 commit into
flutter:mainfrom
srawlins:unused-generic-cup
Open

[cupertino_ui] Remove unused parameters from constructors of generic classes.#12457
srawlins wants to merge 1 commit into
flutter:mainfrom
srawlins:unused-generic-cup

Conversation

@srawlins

@srawlins srawlins commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

We already don't allow unused parameters from non-generic classes. There was a bug preventing us from reporting such parameters on generic classes.

This is work towards dart-lang/sdk#47839.

Pre-Review Checklist

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

We already don't allow unused parameters from non-generic classes. There was a
bug preventing us from reporting such parameters on generic classes.

This is work towards dart-lang/sdk#47839.
@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: cupertino_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 removes unused super.key and super.settings parameters from the constructors of several private classes within the cupertino_ui package, specifically in context_menu.dart, route.dart, segmented_control.dart, and sheet.dart. There are no review comments to address, and no further feedback is provided.

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants