Skip to content

Add debugDisposed to ui.Picture #85471

@dnfield

Description

@dnfield

Today, on VM you can try to access approximateBytesUsed it will throw telling you the object is disposed, but it would be better to just expose a debug bool about whether it's been disposed (similar to Image). Especially now that we want pictures to get disposed #81514

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: debuggingDebugging, breakpoints, expression evaluationa: tests"flutter test", flutter_test, or one of our testsengineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions