mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-25 15:47:56 +00:00
Merged Auth branch & Curtains branch
This commit is contained in:
@@ -9,6 +9,7 @@ import 'package:syncrow_app/features/auth/view/widgets/user_agreement/user_agree
|
||||
import 'package:syncrow_app/features/dashboard/view/dashboard_view.dart';
|
||||
import 'package:syncrow_app/features/devices/view/devices_view.dart';
|
||||
import 'package:syncrow_app/features/layout/view/layout_view.dart';
|
||||
import 'package:syncrow_app/features/menu/view/menu_view.dart';
|
||||
import 'package:syncrow_app/features/profile/view/profile_view.dart';
|
||||
import 'package:syncrow_app/features/scene/view/scene_view.dart';
|
||||
import 'package:syncrow_app/features/splash/view/splash_view.dart';
|
||||
@@ -70,6 +71,10 @@ class Router {
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => const AppLayout(), settings: settings);
|
||||
|
||||
case Routes.menuRoute:
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => const MenuView(), settings: settings);
|
||||
|
||||
default:
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => Scaffold(
|
||||
|
||||
@@ -6,6 +6,7 @@ class Routes {
|
||||
static const String sceneRoute = '/scene';
|
||||
static const String layoutRoute = '/layout';
|
||||
static const String profileRoute = '/profile';
|
||||
static const String menuRoute = '/menu';
|
||||
static const String authRoute = '/auth';
|
||||
static const String authLogin = '$authRoute/login';
|
||||
static const String authSignUp = '$authRoute/signup';
|
||||
|
||||
Reference in New Issue
Block a user