Skip to content

Instantly share code, notes, and snippets.

@carzacc
Created February 27, 2020 20:11
Show Gist options
  • Select an option

  • Save carzacc/8eaea6955d08e2714932136f0cfdfbb8 to your computer and use it in GitHub Desktop.

Select an option

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
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