Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

rounded loading button

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

loading-button

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,
)

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.