v0.0.3
custom_gif_loading
一個新的 Flutter 自訂 GIF 加載套件
7喜歡 34近 30 天下載130Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個新的 Flutter 自訂 GIF 加載套件
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0以下為英文專案原文快照,最新內容請造訪 GitHub。
A customizable, simple, and easy to use loading with your GIF file.
myfile
Add this to your package's pubspec.yaml file:
dependencies:
custom_gif_loading: ^latest
import 'package:custom_gif_loading/custom_gif_loading.dart';
First, Add your GIF file in asset :
Image gif = Image.asset('add your gif file');
Then, Start the loading with pass your gif:
Loading(gif).start(context);
Stop the loading:
Loading.stop();
Image gif = Image.asset('add your gif file');