Skip to content

Proposal: avoid Container objects in the framework #147431

@nate-thegrate

Description

@nate-thegrate

Containers have suboptimal performance; there are several linter rules that recommend not using them when you can avoid it.


Ideally, I would like two things to happen:

  • Add a section to the style guide to advise against using Container objects
  • Refactor the containers currently in the repository into other widget types.

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionrefactorImproving readability/efficiency without behavioral changesteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions