This is a simple simple package to use image as a custom loading animation
You can use any asset image or network image to create a custom loading animation.
- Import the package
- Call
ImageLoadingAnimation()
- Pass any image through
assetImage
ornetworkImage
; - If you want to use use
networkImage
don't forget to passusingNetworkImage
astrue
ImageLoadingAnimation(
assetImage: 'assets/download.png',
)
Optional parameters that you can use as well
Color? backgroundColor,
String? networkImage,
bool? usingNetworkImage,
double? imageWidth,
double? imageHeight,
Duration? animationDuration,
bool? reverseAnimation,
double? containerWidth,
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