Update main.dart
This commit is contained in:
parent
fed5d5fabc
commit
728f9291ea
|
|
@ -74,6 +74,12 @@ String appDir = "";
|
|||
Map<String, String> environmentVariables = {};
|
||||
|
||||
void main() async {
|
||||
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: [SystemUiOverlay.top]);// Hides both the status and navigation bars
|
||||
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
|
||||
systemNavigationBarDividerColor: Colors.blue,
|
||||
systemNavigationBarColor: Colors.blue,
|
||||
systemNavigationBarIconBrightness: Brightness.light,
|
||||
))
|
||||
if (isProduction) {
|
||||
// ignore: avoid_returning_null_for_void
|
||||
debugPrint = (String? message, {int? wrapWidth}) => null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue