Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meetleev/flutter_gif_player
A Flutter package for playing GIFs with features like play, pause, and seek. Control your GIF playback easily in your app.
https://github.com/meetleev/flutter_gif_player
dart flutter gif gif-control gif-player
Last synced: 1 day ago
JSON representation
A Flutter package for playing GIFs with features like play, pause, and seek. Control your GIF playback easily in your app.
- Host: GitHub
- URL: https://github.com/meetleev/flutter_gif_player
- Owner: meetleev
- License: apache-2.0
- Created: 2024-02-24T13:43:41.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T12:50:56.000Z (3 months ago)
- Last Synced: 2024-08-02T13:45:19.788Z (3 months ago)
- Topics: dart, flutter, gif, gif-control, gif-player
- Language: Dart
- Homepage: https://pub.dev/packages/gif_player
- Size: 5.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# gif_player
[![Pub](https://img.shields.io/pub/v/gif_player.svg?style=flat-square)](https://pub.dev/packages/gif_player)
[![support](https://img.shields.io/badge/platform-android%20|%20ios%20|%20web%20|%20macos%20|%20windows%20|%20linux%20-blue.svg)](https://pub.dev/packages/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
![](https://github.com/meetleev/static_resources/blob/main/gif_player/gif_player.gif)
## Getting Started
Add the package to your `pubspec.yaml`:
```yaml
dependencies:
gif_player:
```## Features
* Support play, pause, seek
* Support loop play
* Support progressbar or custom progressbar
* support gif player event.## Usage
``` dart
// init
GifPlayerController controller = GifPlayerController(
backgroundColor: Colors.black,
dataSource: GifPlayerDataSource.asset(assetGifUrl));// build
GifPlayer(controller: controller, fit: BoxFit.fill),
```