showLoading static method
Implementation
static void showLoading([String? message]) {
Get.dialog(
Dialog(
child: Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
CircularProgressIndicator(),
SizedBox(
height: 8.0,
),
Text(message ?? 'Loading....'),
],
),
),
),
);
}