didPushNext method
Called when a new route has been pushed, and the current route is no longer visible.
Implementation
@override
void didPushNext() {
setState(() {
screenVisible = false;
});
_disposeCameraChannel();
}
Called when a new route has been pushed, and the current route is no longer visible.
@override
void didPushNext() {
setState(() {
screenVisible = false;
});
_disposeCameraChannel();
}