widgets
Animated Gif
Embedding animated Gif images in your Fyne app
by The Fyne-x Team
About
The default Fyne image widgets only show the first frame of a gif image. This widget allows you to start and stop the animation through all the frames.
Code#
gif, err := NewAnimatedGif(storage.NewFileURI("./testdata/gif/earth.gif"))
gif.Start()Installation
You can install this add-on using go get:
go get fyne.io/x/fyne/widget
Or you can download the code directly from git:
git clone https://github.com/fyne-io/fyne-x.git