buildLoader method
Implementation
Widget buildLoader(BuildContext context, {Color? backgroundColor}) {
backgroundColor ??= const Color(0xffa8a8a8).withOpacity(.5);
var height = 150.0;
return CustomScreenLoader(
height: height,
width: height,
backgroundColor: backgroundColor,
);
}