Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Stop the animation of a GIF when offscreen. #168051

Copy link
Copy link
Closed
@haodong404

Description

@haodong404
Issue body actions

Use case

I hava a list that contains images, some of them are GIFs, and the screen always refreshing if a GIF is loaded but it's not visible.

Proposal

So I'm wondering is it possible to stop playing a GIF when it's invisible.
And I've tried to wrap a Image with VisibilityDetector, but it will cause rebuild many times.
By the way, the VisibilityDetector is limited, it cannot detect Opacity widget. So it's awesome if there is an alternative in Flutter framwork.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage teamPresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.