Skip to content

AnimatedCrossfade's ClipRect should be configurable. #152025

Description

@kaaninel

Use case

Using overflowing widgets or shadow inside AnimatedCrossfade is not possible currently. I can't see any reason for clipping being default behavior, we can clip the children we pass if that's desired. If this widget will keep having ClipRect wrapped around it should at least be configurable.

Proposal

If we add a property for configuring ClipRect in AnimatedCrossfade this behavior can be easily enabled. Current widget clips everything with hardEdge with no way of changing the behavior without replacing/rewriting whole widget.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions