exitFullscreen method
void
exitFullscreen()
Exits the fullscreen mode.
This method exits the fullscreen mode and updates the navigation history accordingly.
It removes the current page from the history and pushes a new page with fullscreen mode disabled.
Implementation
void exitFullscreen() {
setState(() {
_dynamicHistory.clear();
_fullscreen = false;
});
}