shouldShow method

bool shouldShow(
  1. AppState state
)

Implementation

bool shouldShow(AppState state) {
  if (state != AppState.foreground) return false;
  if (_remaining == 0) return true;
  _remaining--;
  return false;
}