diff --git a/main.dart b/main.dart index 83deff6..19bcea6 100644 --- a/main.dart +++ b/main.dart @@ -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), + )), ); } -} \ No newline at end of file +}