fayaz07 / progress_dialog

A light weight library to easily manage a progress dialog with simple steps whenever you need to do it. You can easily show and hide it.

Home Page:https://fayaz07.github.io/progress_dialog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Gif not working

prasantco opened this issue · comments

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)

Try this:

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