Skip to content

Stop recommending shrink wrapping in assertion messages #103085

@dnfield

Description

@dnfield

See more context in #103068

The framework has at least one place where we recommend using shrinkWrap: true in an assertion error.

We should stop doing this. We should instead recommend using some kind of custom sliver scheme, or just using some kind of non-scrollable widget like a Wrap or Row/Column. ShrinkWrapping can come with additional performance penalities on build/raster that get harder to reason about and test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: error messageError messages from the Flutter frameworkf: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.perf: speedPerformance issues related to (mostly rendering) speed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions