This is a simple simple ppackage to use image as a custom loading animation
Features
You can use any asset image or network image to create a custom loading animation.
Getting started
- Import the package
- Call
ImageLoadingAnimation() - Pass any image through
assetImageornetworkImage; - If you want to use use
networkImagedon't forget to passusingNetworkImageastrue
Usage
ImageLoadingAnimation(
assetImage: 'assets/download.png',
)
Additional information
Optional parameters that you can use as well
Color? backgroundColor,
String? networkImage,
bool? usingNetworkImage,
double? imageWidth,
double? imageHeight,
Duration? animationDuration,
bool? reverseAnimation,
double? containerWidth,
Contribute
You are invited to do any awesome chnages GitHub repo link: https://github.com/thetahmeed/image_loading_animation
// custom_loading_animation a child of Tahmeed's Lab