void showOnlyLoaderDialog(context) {
showDialog(
context: context,
barrierDismissible: false,
builder: (BuildContext context) {
return Dialog(
backgroundColor: Colors.transparent,
child: SizedBox(
height: 6.h,
width: 6.h,
child: LoadingIndicator(
indicatorType: Indicator.ballRotateChase,
colors: const [
Colors.green,
Colors.red,
Colors.blue,
Colors.orange
],
strokeWidth: 2,
backgroundColor: Colors.transparent,
),
),
);
},
);
}
void showOnlyLoaderDialog(context) {
showDialog(
context: context,
barrierDismissible: false,
builder: (BuildContext context) {
return Dialog(
backgroundColor: Colors.transparent,
child: SizedBox(
height: 6.h,
width: 6.h,
child: LoadingIndicator(
indicatorType: Indicator.ballRotateChase,
colors: const [
Colors.green,
Colors.red,
Colors.blue,
Colors.orange
],
strokeWidth: 2,
backgroundColor: Colors.transparent,
),
),
);
},
);
}