By extracting: ``` SystemChrome.setEnabledSystemUIMode( SystemUiMode.manual, overlays: SystemUiOverlay.values, ); ``` to a file `system_ui.dart` and calling the method `restoreSystemUI()`