gif_player 0.0.3 gif_player: ^0.0.3 copied to clipboard
A Flutter package for playing GIFs with features like play, pause, and seek. Control your GIF playback easily in your app.
gif_player #
The GIF player Flutter package offers functionality for playing, pausing, and seeking within GIFs, accompanied by a progress bar for playback control. With this package, users can seamlessly enjoy GIF animations, controlling playback as desired by pausing, resuming, and jumping to specific points within the animation. The progress bar provides visual feedback on the current playback position, allowing users to track their progress and navigate through the GIF with ease.
Preview #
Getting Started #
Add the package to your pubspec.yaml
:
dependencies:
gif_player: <latest_version>
Features #
- Support play, pause, seek
- Support loop play
- Support progressbar or custom progressbar
- support gif player event.
Usage #
// init
GifPlayerController controller = GifPlayerController(
backgroundColor: Colors.black,
dataSource: GifPlayerDataSource.asset(assetGifUrl));
// build
GifPlayer(controller: controller, fit: BoxFit.fill),