Last active
February 15, 2020 04:05
-
-
Save kyorohiro/b6b65827d6731c17c46a6405399068b3 to your computer and use it in GitHub Desktop.
HIDE Status BAR (Full Screen) at Flutter x Dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
void main(){ | |
Future.delayed(new Duration(seconds: 1)).then((value) { | |
SystemChrome.setEnabledSystemUIOverlays([]); | |
}); | |
runApp(Directionality(textDirection: TextDirection.ltr, child: Center(child: Text("xx"),))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment