Skip to content

OpacityLayer should be a subclass of OffsetLayer #89255

@dnfield

Description

@dnfield

They both contain offsets, and have duplicated code for calculating transforms.

We also have a bug where debug disabling opacity places the child in the wrong part of the screen, because really we should be pushing an offset layer instead of an opacity layer in that case.

Fixing this could help resolve #71008

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listfound in release: 2.6Found to occur in 2.6frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions