diff --git a/lib/landing_page.dart b/lib/landing_page.dart index 1d7a89b..f9b76d8 100644 --- a/lib/landing_page.dart +++ b/lib/landing_page.dart @@ -82,10 +82,10 @@ class _LandingPageState extends State { borderRadius: BorderRadius.all(Radius.circular(20)), )), onPressed: () { - Navigator.push( + Navigator.pushReplacement( context, MaterialPageRoute( - builder: (context) => HomePage())); + builder: (context) => const HomePage())); }, child: Text( "Get started",