mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-24 18:57:54 +00:00
initialized Splash UI
initialized Login UI initialized Home(no Devices) UI Added Colors (from syncrow website) Added Logo
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:syncrow_app/features/auth/auth_view.dart';
|
||||
import 'package:syncrow_app/features/home/home_view.dart';
|
||||
import 'package:syncrow_app/features/profile/profile_view.dart';
|
||||
import 'package:syncrow_app/features/scene/scene_view.dart';
|
||||
@@ -30,6 +31,10 @@ class Router {
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => const SmartPage(), settings: settings);
|
||||
|
||||
case Routes.authRoute:
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => const AuthPage(), settings: settings);
|
||||
|
||||
default:
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => Scaffold(
|
||||
|
||||
@@ -4,4 +4,5 @@ class Routes {
|
||||
static const String sceneRoute = '/scene';
|
||||
static const String smartRoute = '/smart';
|
||||
static const String profileRoute = '/profile';
|
||||
static const String authRoute = '/auth';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user