identity_loader 0.0.4 copy "identity_loader: ^0.0.4" to clipboard
identity_loader: ^0.0.4 copied to clipboard

loader with customizable animations & avatar.

Identity Loader: #

loader with customizable animations & avatar.

Features #

  • Multiple loader animations:
  • Spin Circle
  • Spin Fade Circle
  • Circular Progress Indicator
  • Dual Wave
  • Circle Bounce
  • Customizable colors, sizes, and stroke widths.
  • Supports an image or widget at the center of the loader.

Installation #

Add the following to your pubspec.yaml file:

dependencies:
identity_loader: latest_version

Then, run:

flutter pub get

Usage #

Import the package:

import 'package:identity_loader/identity_loader.dart';

Use IdentityLoader in your widget tree:

IdentityLoader(
indicatorColor: Colors.blue,
indicatorStrokeWidth: 6.0,
circleAvatarColor: Colors.white,
circleAvatarRadius: 28,
loaderImageWidget: Image.asset('assets/logo.png'),
loaderType: LoaderType.spinCircle,
)

Parameters #

Parameter Type Default Description
indicatorColor Color? Theme.of(context).primarycolor Color of the loading indicator
indicatorStrokeWidth double 6.0 Stroke width of the indicator
circleAvatarColor Color? Theme.of(context).primarycolor Background color of the center avatar
circleAvatarRadius double 28 Radius of the center avatar
loaderImageWidget Widget required Widget displayed at the center of the loader
loaderImageHeight double 40 Height of the loader image
loaderImageWidth double 40 Width of the loader imag
loaderType LoaderType circularIndicator Type of loading animation

Example #

SpinCircleFade SpinCircle CircleBounce
SpinCircleFade SpinCircle CircleBounce
DualWave CircularIndicator
DualWave CircularIndicator

Available Loader Types #

  • LoaderType.spinCircle
  • LoaderType.spinFadeCircle
  • LoaderType.circularIndicator
  • LoaderType.dualWave
  • LoaderType.circleBounce

License #

This project is licensed under the MIT License. See the LICENSE file for details.

Contributions #

Contributions, issues, and feature requests are welcome! Feel free to open an issue or a pull request.

Authors #

GIRITHAR JOHNSON
4
likes
140
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

loader with customizable animations & avatar.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on identity_loader