loading_button_plus 0.0.3 copy "loading_button_plus: ^0.0.3" to clipboard
loading_button_plus: ^0.0.3 copied to clipboard

A flutter package to add a text button having loading indicator

A highly customizable and animated loading button widget for Flutter, perfect for use in your mobile applications. The LoadingButton widget allows for extensive customization of its appearance and behavior, ensuring it fits seamlessly into your app's design.

Features #

  • Customizable Appearance: Adjust height, width, color, text style, border radius, box shadow, and more.
  • Animated State Changes: Smoothly transition between loading and non-loading states with animations.
  • Gradient Support: Apply linear gradients to the button background.
  • Custom Loading Indicator: Use the default or provide a custom loading widget.
  • Ignore Pointer: Disable button interaction while loading or based on your conditions.

Installation #

Add the following line to your pubspec.yaml file:

dependencies:
  loading_button: ^1.0.0

import package

import 'package:loading_button_plus/loading_button.dart';

Use in your widget tree.

LoadingButtonPlus(
                    textColor: Colors.white,
                    isLoading: isLoading,
                    text: "Text",
                    onTap: () {
                      setState(() {
                        isLoading= !isLoading;
                      });
                    })
2
likes
130
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package to add a text button having loading indicator

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on loading_button_plus