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