progress_dialog
progress_dialog copied to clipboard
Custom Gif not working
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
Try this:
customBody: Container(
height: 100,
width: 213,
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/images/loading_normal.gif'),
fit: BoxFit.cover,
),
),
),
Thank You so much Fayaz. It's working now.
On Thu, Jul 23, 2020 at 10:49 PM Guilherme [email protected] 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 https://github.com/fayaz07/progress_dialog/issues/63#issuecomment-663129955, or unsubscribe https://github.com/notifications/unsubscribe-auth/APGW34VCPE5MTKNAOGEOD73R5BWKHANCNFSM4NH5XBRQ .