Created
June 24, 2019 15:00
-
-
Save veetaw/de029103c9c22fd7af27af4f78e52844 to your computer and use it in GitHub Desktop.
How a clean lib/main.dart should look
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'; | |
void main() { | |
runApp(Application()); | |
} | |
class Application extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: "Admob test", | |
home: Scaffold( | |
appBar: AppBar( | |
title: Text("Flutter admob test"), | |
), | |
body: Container(), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment