progress_dialog icon indicating copy to clipboard operation
progress_dialog copied to clipboard

Custom Gif not working

Open prasantco opened this issue 4 years ago • 2 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)

prasantco avatar May 22 '20 15:05 prasantco

Try this:

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

guicostadev avatar Jul 23 '20 17:07 guicostadev

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 .

prasantco avatar Jul 23 '20 18:07 prasantco