isShowing method

bool isShowing()

Checks if the flushbar is visible

Implementation

bool isShowing() {
  if (flushbarRoute == null) {
    return false;
  }
  return flushbarRoute!.currentStatus == FlushbarStatus.SHOWING;
}