showUFUConfirmationLoader function

Widget? showUFUConfirmationLoader({
  1. bool? show = false,
  2. double size = 20,
})

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;
}