I’m using gif_view to control gif in flutter and when it finishes playing, it is coming to initial position, but I want it in last position itself.
import 'package:gif_view/gif_view.dart';
final controller = GifController(loop: false);
GifView.asset(
"assets/1.gif",
controller: controller,
progress: const CircularProgressIndicator(),
),
even it is taking lot of time to load, so I want to fix this also
I’m expecting fix to both loading gif quickly and gif should not reset a after playing completely.
2
Answers
I followed this method for time being and worked for me to avoid reset.
I achieved the same thing using Lottie package.
You can do something like:
and