gif_player

Pub support

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),

Libraries

gif_player