hideStatusBar function

Future<void> hideStatusBar()

This function will hide status bar

Implementation

Future<void> hideStatusBar() async {
  SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []);
}