|
@@ -1,4 +1,5 @@
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
+import 'package:flutter_habit/pages/home_page.dart';
|
|
import 'package:flutter_habit/pages/splash_page.dart';
|
|
import 'package:flutter_habit/pages/splash_page.dart';
|
|
|
|
|
|
/// Description: routes
|
|
/// Description: routes
|
|
@@ -13,7 +14,7 @@ class Routes {
|
|
case splash:
|
|
case splash:
|
|
return MaterialPageRoute(builder: (_) => SplashPage());
|
|
return MaterialPageRoute(builder: (_) => SplashPage());
|
|
case home:
|
|
case home:
|
|
- return MaterialPageRoute(builder: (_) => SplashPage());
|
|
|
|
|
|
+ return MaterialPageRoute(builder: (_) => HomePage());
|
|
default:
|
|
default:
|
|
return MaterialPageRoute(builder: (_) => SplashPage());
|
|
return MaterialPageRoute(builder: (_) => SplashPage());
|
|
}
|
|
}
|