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

Identity Loader is a customizable Flutter package that provides a variety of loading animations along with an identity image or avatar in the center. It helps improve the user experience by offering v [...]

Identity Loader: #

Identity Loader is a customizable Flutter package that provides a variety of loading animations along with an identity image or avatar in the center. It helps improve the user experience by offering visually appealing loading indicators.

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
0
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

Identity Loader is a customizable Flutter package that provides a variety of loading animations along with an identity image or avatar in the center. It helps improve the user experience by offering visually appealing loading indicators.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on identity_loader