When I want to hide the status bar, it gets hidden but a black bar takes its place. How can I fix this?
‘
void main()async {
runApp(MyApp());
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersive);
}
”’
and I use all of these feilds :
”’
SystemUiMode.immersive
SystemUiMode.immersiveSticky
SystemUiMode.edgeToEdge
SystemUiMode.leanBack
SystemUiMode.manual , overlays: []
”’