showUFUConfirmationLoader function
showUFUConfirmationLoader can be used to show loading animation on buttons
parameters: showoptional
show:- it is a bool variable which can be used to show or hide loader
default value is false
Implementation
Widget? showUFUConfirmationLoader({bool? show = false, double size = 20}) {
return show! ? SpinKitThreeBounce(color: UFUColor.white, size: size) : null;
}