# didPopNext method

1. @override

void didPopNext()
override

Called when the top route has been popped off, and the current route shows up.

## Implementation

    @override
    void didPopNext() {
      if (mounted) {
        setState(() {
          screenVisible = true;
        });
      }

      WidgetsBinding.instance.addPostFrameCallback((_) {
        if (_disposed) {
          _disposed = false;
          _reinitializeCameraChannel();
        }
      });
    }