Skip to content

Some code in flutter should start ignoring unused_element_parameter #126924

@srawlins

Description

@srawlins

When the analyzer detects an unused parameter, it reports unused_element which can be ignored with an inline ignore like // ignore: unused_element. The analyzer will start reporting instead, unused_element_parameter. There are ignores in flutter/flutter that need to be updated to the new code. In order to incrementally migrate, they can be changed to // ignore: unused_element, unused_element_parameter.

After flutter/flutter is using a new enough analyzer, we can then change those to // ignore: unused_element_parameter.

Metadata

Metadata

Assignees

Labels

frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions