Custom Gif not working
prasantco opened this issue · comments
Prasant commented
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
Guilherme commented
Try this:
customBody: Container(
height: 100,
width: 213,
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/images/loading_normal.gif'),
fit: BoxFit.cover,
),
),
),
Prasant commented
Thank You so much Fayaz. It's working now.
…On Thu, Jul 23, 2020 at 10:49 PM Guilherme ***@***.***> wrote:
Try this:
customBody: Container(
height: 100,
width: 213,
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/images/loading_normal.gif'),
fit: BoxFit.cover,
),
),
),
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APGW34VCPE5MTKNAOGEOD73R5BWKHANCNFSM4NH5XBRQ>
.