mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-09-22 09:18:06 +08:00
implemented simple material app
updated gitignore to ignore all files under build folder
This commit is contained in:
16
simple_material_app/lib/main.dart
Normal file
16
simple_material_app/lib/main.dart
Normal file
@ -0,0 +1,16 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
void main() {
|
||||
runApp(new MaterialApp(
|
||||
title: "Simple Material App",
|
||||
home: new Scaffold(
|
||||
appBar: new AppBar(
|
||||
title: new Text("Simple Material App"),
|
||||
),
|
||||
body: new Container(
|
||||
child: new Center(
|
||||
child: new Text("Hello World!"),
|
||||
),
|
||||
),
|
||||
)));
|
||||
}
|
Reference in New Issue
Block a user