How to hide the Android Status Bar in a Flutter App?
SystemChrome.setEnabledSystemUIOverlays([]) should do what you want.
SystemChrome.setEnabledSystemUIOverlays([])
You can bring it back with SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values).
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values)
Import it using
import 'package:flutter/services.dart';
2.1m questions
2.1m answers
60 comments
57.0k users