showProgressToast static method

void showProgressToast(
  1. BuildContext context, {
  2. required String text,
  3. dynamic durationInSeconds = 65,
})

Implementation

static void showProgressToast(BuildContext context, {required String text, durationInSeconds = 65}) {
  clearFocus(context);
  showOverlay(context, layerId: _progressLayerId, durationInSeconds: durationInSeconds, widget: OverlayProgress(text));
}