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

discontinued
outdated

This Library now you can create button with loader and use flutter 3 and fluent ui for desktop native ui.

TBIB Button with loader #

Import #

import 'package:tbib_button_with_loader/tbib_button_with_loader.dart';

How To Use #

    ButtonWithLoader(
        onPressed: (startLoading, stopLoading,
            Function(bool isSuccess) isSuccess, state) {
            this.startLoading = startLoading;
            this.stopLoading = stopLoading;
            this.isSuccess = isSuccess;
            this.startLoading?.call();
            Future.delayed(const Duration(seconds: 2), () {
            this.stopLoading?.call();
            });
        },
        backgroundLoaderColor: Colors.blue,
        title: 'Click Me',
        )
0
likes
140
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

This Library now you can create button with loader and use flutter 3 and fluent ui for desktop native ui.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

fluent_ui, flutter

More

Packages that depend on tbib_button_with_loader