rounded_loading_button 1.0.16
rounded_loading_button: ^1.0.16

Flutter Android iOS web

A simple implementation of an animated loading button widget for Flutter

rounded_loading_button #

pub package

RoundedLoadingButton is a Flutter package with a simple implementation of an animated loading button, complete with success and error animations.

Installation #

Add this to your pubspec.yaml:

dependencies:
    rounded_loading_button: ^1.0.0

Usage #

Import #

import 'package:rounded_loading_button/rounded_loading_button.dart';

Simple Implementation #

final RoundedLoadingButtonController _btnController = new RoundedLoadingButtonController();

void _doSomething() async {
    Timer(Duration(seconds: 3), () {
        _btnController.success();
    });
}

RoundedLoadingButton(
    child: Text('Tap me!', style: TextStyle(color: Colors.white)),
    controller: _btnController,
    onPressed: _doSomething,
)
96
likes
100
pub points
94%
popularity

Publisher

edgington.dev

A simple implementation of an animated loading button widget for Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, rxdart

More

Packages that depend on rounded_loading_button