showLoading method

void showLoading({
  1. String? message,
  2. Color? indicatorColor,
  3. AlertTheme? theme,
})

Implementation

void showLoading({
  String? message,
  Color? indicatorColor,
  AlertTheme? theme,
}) {
  OverlayService().show(
    LoadingDialogWidget(
      config: LoadingConfig(
        message: message,
        indicatorColor: indicatorColor,
        theme: theme,
      ),
    ),
  );
}