part of '../main.dart';
class FullScreenPage extends StatefulWidget {
final Widget child;
const FullScreenPage({Key key, this.child}) : super(key: key);
@override
_FullScreenPageState createState() => _FullScreenPageState();
}
class _FullScreenPageState extends State<FullScreenPage> {
void initState() {
SystemChrome.setEnabledSystemUIOverlays([]);
super.initState();
Widget build(BuildContext context) {
return Container(
color: Colors.black,
child: Center(
child: this.widget.child,
),
);
void dispose() {
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
super.dispose();