didPop method

  1. @override
void didPop()
override

Called when the current route has been popped off.

Implementation

@override
void didPop() {
  setState(() {
    screenVisible = false;
  });
  _disposeCameraChannel();
}