Skip to content
pubscout

gif_view

1.0.3, released a year ago by rafaelbarbosatec.com

Load and control GIF and APNG images with adjustable frame rates.

WASM-ready
$ flutter pub add gif_view
Source repository

What it does

Provides custom widgets and controllers to render, play, pause, seek, and loop GIF or APNG animations from assets, network, memory, or files. Includes pre-fetching and caching support.

AI-written summary of version 1.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display and control playback of animated GIFs or APNGs.
  • You want to set custom frame rates for animated images.
  • You need to pre-fetch and cache animated images.

Skip it when

  • You only need standard static image rendering without animation controls.

Strengths

  • Supports loading from multiple sources (assets, network, memory, file).
  • Allows frame rate configuration and playback control via a controller.
  • Includes built-in pre-fetching and custom cache provider support.

Weaknesses

  • Limited to GIF and APNG formats rather than generalized vector/Lottie animations.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
GifView.asset(
  'assets/gif1.gif',
  height: 200,
  width: 200,
  frameRate: 30,
)

Alternatives

Packages that do the same job and could replace gif_view.

  • image

    If you need core image decoding and manipulation utilities rather than a UI widget.

  • cached_network_image

    If your primary requirement is advanced network image caching rather than GIF playback control.