Skip to content

Investigate constness #149932

@goderbauer

Description

@goderbauer

We would like to investigate if the following lints related to const (which are currently enabled by package:flutter_lints) are carrying their weight:

In theory, constness gives apps a performance boost, but during development these lints constantly nag developers: "Make this const" or "This cannot be const anymore". We should reevaluate if we are making the right trade-off here between naginess and performance.

For now we will limit our investigations to app developers and whether we should continue recommending the lints to them. We are not evaluating whether we should turn these lints off for the framework.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions