Question : remove status bar in flutter
Answered by : mohamed-mostafa-tjy951zo06ev
import 'package:flutter/services.dart';
void main() { WidgetsFlutterBinding.ensureInitialized(); SystemChrome.setEnabledSystemUIOverlays([ SystemUiOverlay.bottom, //This line is used for showing the bottom bar ]); runApp(myApp());
}
Source : | Last Update : Fri, 30 Sep 22
Question : flutter remove status bar
Answered by : thiagobfim
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom]);
Source : | Last Update : Wed, 10 Mar 21
Question : how to cover top bar of screen in flutter app
Answered by : akash-bansal
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle( statusBarColor: Colors.transparent, ));
Source : | Last Update : Sun, 11 Oct 20