custom_gif_loading 0.0.2 custom_gif_loading: ^0.0.2 copied to clipboard
A new Flutter Custom GIF Loading Package
Getting started #
A customizable, simple, and easy to use loading with your GIF file.
Installing #
Add this to your package's pubspec.yaml file:
dependencies:
custom_gif_loading: ^latest
Import #
import 'package:custom_gif_loading/custom_gif_loading.dart';
How to use #
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();
Customize #
Image gif = Image.asset('add your gif file');