Created
February 27, 2020 20:11
-
-
Save carzacc/8eaea6955d08e2714932136f0cfdfbb8 to your computer and use it in GitHub Desktop.
Example of very, very, simple Flutter app to make a point about that
This file contains hidden or 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(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(context) => | |
| MaterialApp( | |
| home: Scaffold( | |
| appBar: AppBar(title: Text("Example app")), | |
| body: Center( | |
| child: Column( | |
| children: [ | |
| Text("Hi There!"), | |
| Image.network( | |
| 'https://imagery.pragprog.com/products/578/czflutr.jpg?1560360708', | |
| height: 200 | |
| ) | |
| ] | |
| ) | |
| ) | |
| ) | |
| ); | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment