Implementation
@override
Widget get loadingWidget => Scaffold(
backgroundColor: Colors.transparent,
body: Center(
child: Container(
width: 120,
height: 120,
decoration: BoxDecoration(color: Colors.white.withOpacity(.4), borderRadius: BorderRadius.circular(10)),
child: SizedBox(
width: 50,
height: 50,
child: Stack(
children: [
Align(
alignment: Alignment.topRight,
child: GestureDetector(
onTap: () {
Get.back();
},
child: const Icon(
Icons.cancel_rounded,
color: Colors.white,
size: 20,
).paddingAll(10),
),
),
const Center(
child: CircularProgressIndicator(strokeWidth: 2),
),
],
),
),
),
),
);