hideStatusBar static method

Future<void> hideStatusBar()

Implementation

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