tbib_button_with_loader 1.0.5
tbib_button_with_loader: ^1.0.5 copied to clipboard
Flutter widgets and themes implementing the current macOS design language.
TBIB Button with loader #
Alert - This package support all platform without web #
this issue because you can use macos ui in macos plugin #
but this package control it auto #

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();
});
},
title: 'Click Me',
)