Created
May 8, 2020 16:24
-
-
Save becek2n/e20eefe527273d61cc359b43fa69867a to your computer and use it in GitHub Desktop.
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
@override | |
Widget build(BuildContext context) { | |
return WillPopScope( | |
onWillPop: () async => false, | |
child : Scaffold( | |
appBar: AppBar( | |
title: Text(widget.title), | |
automaticallyImplyLeading: false, | |
backgroundColor: Colors.redAccent, | |
elevation: 0.0, | |
), | |
body: MainMenu(), | |
) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment