showEralpNotification static method

void showEralpNotification(
  1. {@required Widget child,
  2. Duration duration,
  3. bool showProgressIndicator,
  4. Color progressBackgroundColor,
  5. Color progressValueColor}
)

Implementation

static void showEralpNotification({
  @required Widget child,
  Duration duration,
  bool showProgressIndicator,
  final Color progressBackgroundColor,
  final Color progressValueColor,
}) {
  final _showEralpBar = ShowEralpNotification(
    child: child,
    duration: duration ?? null,
    showProgressIndicator: showProgressIndicator ?? false,
    progressBackgroundColor: progressBackgroundColor,
    progressValueColor: progressValueColor,
  );
  _showEralpBar.show(_globalProvider.globalContext);
}