Skip to content

[vector_graphics] Allow transition between placeholder and loaded image to have an animation #158857

@stuartmorgan-g

Description

@stuartmorgan-g

Imported from dnfield/vector_graphics#193

Original report by @jaggernod on Mar 9, 2023

Images fetched from the network can take significant time to load.
Unfortunately, when a placeholder is defined and the remote asset is loaded we see an immediate switch (pop-in).

Could we provide animation for the transition or have a crossfade (with user-defined duration) between the placeholder and the final image?

The original flutter_svg already had this question posted.

P.S. Thank you for the package. It is really useful


Comment by @dnfield on Mar 9, 2023
I'm open to this but doubt I will have time to work on it myself anytime soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p: vector_graphicsThe vector_graphics package setpackageflutter/packages repository. See also p: labels.r: 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