Skip to content

[Declaring Constructors] Evaluate support for prefer_final_parameters #61675

@bwilkerson

Description

@bwilkerson

If the final modifier on a primary constructor's parameter indicates that the field should be final, then this lint will need to either be updated to not report on primary constructors, or it will need to be deprecated.

This issue is to collect feedback for which of those approaches we should take.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.feature-declaring-constructorsImplementation of the declaring constructors feature. Otherwise known as primary constructors.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions