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');