Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Custom Gif not working #63

Open
prasantco opened this issue May 22, 2020 · 2 comments
Open

Custom Gif not working #63

prasantco opened this issue May 22, 2020 · 2 comments

Comments

@prasantco
Copy link

prasantco commented May 22, 2020

Describe the bug
I'm downloading a gif from this url https://loading.io/, and added inside assets in my project ,it's showing spinner without animation. it's static.
Are @fayaz07 suggesting us how to implement custom animated progress bar or downloaded animated spinner(.gif). Because we need it for releasing the product app.
background of spinner has transparent,but it is also not showing transparent background
Spinner-1s-200px (1)

@guicostadev
Copy link

Try this:

customBody: Container(
  height: 100,
  width: 213,
  decoration: BoxDecoration(
    image: DecorationImage(
       image: AssetImage('assets/images/loading_normal.gif'),
       fit: BoxFit.cover,
    ),
  ),
),

@prasantco
Copy link
Author

prasantco commented Jul 23, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants