Skip to content

Instantly share code, notes, and snippets.

@h4p
Created September 16, 2020 14:12
Show Gist options
  • Save h4p/4ab29eadfc5111e081b0d25562d7f6ce to your computer and use it in GitHub Desktop.
Save h4p/4ab29eadfc5111e081b0d25562d7f6ce to your computer and use it in GitHub Desktop.
Flutter - Minimal Material App
// 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