From 18be2faab6f5f70b49f23611a27391593a4d7b23 Mon Sep 17 00:00:00 2001 From: raza4399 <52241717+raza4399@users.noreply.github.com> Date: Fri, 2 Oct 2020 08:19:07 +0530 Subject: [PATCH 1/2] Update main.dart --- main.dart | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/main.dart b/main.dart index 0af26f9..98b08c9 100644 --- a/main.dart +++ b/main.dart @@ -1,5 +1,21 @@ -void main() { - print("Flutter is amazing"); - print( - "Flutter Example apps repo is the collections of awesome apps built with flutter"); +import 'package:flutter/material.dart'; +void main() => runApp(MyApp()); + +class MyApp extends StatelessWidget { + @override + Widget build(BuildContext context) { + return MaterialApp( + home: Center( + Text( + "updated app", + style: TextStyle( + color: Colors.red, + fontSize: 18, + fontWeight: FontWeight.bold, + ), + ), + ), + ); + } } + From 6bfdd3ec4f85b41ca120ff19cc872435a5dbf5e7 Mon Sep 17 00:00:00 2001 From: raza4399 <52241717+raza4399@users.noreply.github.com> Date: Fri, 2 Oct 2020 08:29:02 +0530 Subject: [PATCH 2/2] Update main.dart --- main.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/main.dart b/main.dart index 98b08c9..28951df 100644 --- a/main.dart +++ b/main.dart @@ -1,3 +1,4 @@ +//updated as according to repo-name(FlutterExample) import 'package:flutter/material.dart'; void main() => runApp(MyApp());