exitFullScreen function
void
exitFullScreen()
Exits full-screen and restores system overlays (status and navigation bars).
Implementation
void exitFullScreen() {
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
}