Created
September 16, 2020 14:12
-
-
Save h4p/4ab29eadfc5111e081b0d25562d7f6ce to your computer and use it in GitHub Desktop.
Flutter - Minimal Material App
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
// lib/main.dart | |
import 'package:flutter/material.dart'; | |
main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(context) { | |
return MaterialApp( | |
home: Scaffold( | |
body: Center( | |
child: Text('Hello World'), | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment