Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Hello word in flutter #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions main.dart
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import 'package:flutter/material.dart';

void main() => runApp(MyApp());
void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Welcome to Flutter',
home: Scaffold(
appBar: AppBar(
title: Text('Welcome to Flutter'),
),
body: Center(
child: Text('Hello World'),
),
return Scaffold(
appBar: new AppBar(
title: Text("Hello World App"),
elevation: 0.0,
),
body: new Center(
child: new Text(
"Hello World",
style: TextStyle(color: Colors.black, fontSize: 50),
)),
);
}
}
}