showProgress static method

void showProgress(
  1. double progress, [
  2. String? text
])

Implementation

static void showProgress(double progress, [String? text]) {
  EasyLoading.instance.userInteractions = false; // 屏蔽交互操作
  EasyLoading.showProgress(progress, status: text);
}