From 6601ccc0ad742b53288a9edaad279978a475ea25 Mon Sep 17 00:00:00 2001 From: raza4399 <52241717+raza4399@users.noreply.github.com> Date: Fri, 2 Oct 2020 09:30:17 +0530 Subject: [PATCH 1/2] Update main.dart --- lib/main.dart | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index faa84f3..2a8390a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -18,13 +18,18 @@ class MyApp extends StatelessWidget { Widget build(BuildContext context) { return new MaterialApp( debugShowCheckedModeBanner: false, + initialRoute: "crud_sample", + routes: { + "crud_sample": (context) => CrudSample(), +// "signup": (context) => SignupScreen(), +// "login": (context) => LoginScreen(), +// "home": (context) => Myhome(), +// "sup": (context) => Sup(), + }, title: 'Flutter Demo', theme: new ThemeData( primarySwatch: Colors.blue, ), - navigatorObservers: [observer], - // home: new WallScreen(analytics: analytics, observer: observer), - home: new CrudSample(), ); } } From a539d184de4a7300e117aff54a24f3785633e132 Mon Sep 17 00:00:00 2001 From: raza4399 <52241717+raza4399@users.noreply.github.com> Date: Fri, 2 Oct 2020 09:34:34 +0530 Subject: [PATCH 2/2] Update main.dart --- lib/main.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 2a8390a..c48b1d2 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -21,10 +21,7 @@ class MyApp extends StatelessWidget { initialRoute: "crud_sample", routes: { "crud_sample": (context) => CrudSample(), -// "signup": (context) => SignupScreen(), -// "login": (context) => LoginScreen(), -// "home": (context) => Myhome(), -// "sup": (context) => Sup(), + "quotes": (context) => QuotesScreen(), }, title: 'Flutter Demo', theme: new ThemeData(