Вы можете добавить SystemChrome.setEnabledSystemUIOverlays([]);
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
// This is where you put the code
SystemChrome.setEnabledSystemUIOverlays([]);
// SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top, SystemUiOverlay.bottom]);
// SystemUiOverlay.top is status bar, SystemUiOverlay.bottom is Navigation bar, if you want to remove both, don't pass anything inside.
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Home(),
);
}
}