Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop GIF loop in flutter?

Tags:

flutter

How to stop gif loop after 1 time? It is animating forever.

Image(
  color: Colors.red,
  image: new AssetImage(Icn.splash),
  width: 150.0,
),
like image 241
Jagaa Avatar asked Dec 31 '22 13:12

Jagaa


1 Answers

Solution
- Go to https://ezgif.com/loop-count
- Upload gif
- Set loop count 1 (0 - infinity)
- Change loop count and download gif

like image 89
Jagaa Avatar answered Feb 05 '23 04:02

Jagaa