Skip to content

Instantly share code, notes, and snippets.

@kyorohiro
Last active February 15, 2020 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyorohiro/b6b65827d6731c17c46a6405399068b3 to your computer and use it in GitHub Desktop.
Save kyorohiro/b6b65827d6731c17c46a6405399068b3 to your computer and use it in GitHub Desktop.
HIDE Status BAR (Full Screen) at Flutter x Dart
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