lottie_loader 0.0.3
lottie_loader: ^0.0.3 copied to clipboard
Flutter Pacakge that can allow you to use lottie animations as loader.
Lottie Loader #
A Flutter library for displaying Lottie animations as loaders, with support for both local asset files and network-based Lottie animations. This package includes a customizable overlay and a simple controller to manage the visibility of the loader.
Features #
- Display Lottie animations from local assets or network URLs.
- Add an overlay with customizable color and opacity.
- Easily manage loader visibility using
LoaderController. - Configurable width and height for the loader animation.
Installation #
Add the following line to your pubspec.yaml under dependencies:
dependencies:
lottie: ^2.3.2
lottie_loader: ^0.0.3
import 'package:lottie_loader/lottie_loader.dart';
LoaderOverlay.show(
context,
lottieAnimationPath: 'assets/Animation - 1734834675750.json',
isNetwork: false,
width: 300,
height: 300,
overlayOpacity: 0.6,
overlayColor: Colors.black
);
LoaderOverlay.hide();
Contributors #
- Rana Sharjeel Ali Flutter Developer

.png?raw=true)