Question : how to hide the status bar and navigation bar in flutter
Answered by : dagmawi-tadesse
import 'package:flutter/services.dart';
@override Widget build(BuildContext context) { SystemChrome.setEnabledSystemUIOverlays([]); return Container( width: MediaQuery.of(context).size.width, height: MediaQuery.of(context).size.height, child: Column('Some text'), ); }
Source : | Last Update : Mon, 28 Dec 20
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