-
-
Notifications
You must be signed in to change notification settings - Fork 696
Would be good to have example how to use FadeInImage #7
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
The doc of FadeInImage is pretty easy and straightforward.
Just use CachedNetworkImageProvider for 'image' and for example an assetimage for 'placeholder'. Probably going to remove it from the readme in the next version. It is also mentioned in the changelog. |
@renefloor this is the working example. Notice the
by the way - all worked with new version. Awesome work @renefloor ! |
Yes indeed, an AssetImage would be a good choice, or the MemoryImage in my example. A MemoryImage shows even faster (so no flicker), but you have to load it yourself first. |
@FastNinja because I also wanted some way to show an error I started working on a widget that holds a placeholder and an error widget. Would like to hear your opinion on it. It is still a work in progress, but I already published an alpha. |
just at the moment trying to read source code of
flutter
to figure out what is the exact usage...once I figure it out - will update the issue.
The text was updated successfully, but these errors were encountered: