show static method
void
show(
- BuildContext context, {
- double? size,
- Color? color,
- Color? iconColor,
- String? text,
- double? textSize,
- Color? textColor,
- double? radius,
- LoadingType? loadingType = LoadingType.sword,
Implementation
static void show(BuildContext context,
{double? size,
Color? color,
Color? iconColor,
String? text,
double? textSize,
Color? textColor,
double? radius,
LoadingType? loadingType = LoadingType.sword}) {
showDialog(
barrierDismissible: true,
context: context,
builder: (ctx) => Container(
color: Colors.transparent,
child: KLoading(
size: size,
color: color,
iconColor: iconColor,
text: text,
textColor: textColor,
textSize: textSize,
loadingType: loadingType,
radius: radius,
),
),
);
}