Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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