Skip to content

Instantly share code, notes, and snippets.

@daisukenagata
Last active Oct 23, 2021
Embed
What would you like to do?
import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Welcome to Flutter',
home: new Scaffold(
appBar: new AppBar(
title: new Text('Welcome to Flutter'),
),
body: new Center(
child: new Text('Hello World'),
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment