aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/routes.dart
diff options
context:
space:
mode:
authorMarvin Borner2018-07-20 18:14:18 +0200
committerMarvin Borner2018-07-20 18:14:18 +0200
commit4263997c3e419ef1cf7447d447c5582a322acf74 (patch)
treed6b5a7c836ba74d1a57f3e6b1a8f372064864c13 /lib/routes.dart
parent18b8bd888a13c6dadfb7961cc88214332b6f5d38 (diff)
Began basic login screen feature (mvp architecture)
Diffstat (limited to 'lib/routes.dart')
-rw-r--r--lib/routes.dart9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/routes.dart b/lib/routes.dart
new file mode 100644
index 0000000..4a9ae07
--- /dev/null
+++ b/lib/routes.dart
@@ -0,0 +1,9 @@
+import 'package:flutter/material.dart';
+import 'package:beam_messenger/screens/home/home_screen.dart';
+import 'package:beam_messenger/screens/login/login_screen.dart';
+
+final routes = {
+ '/login': (BuildContext context) => new LoginScreen(),
+ '/home': (BuildContext context) => new HomeScreen(),
+ '/': (BuildContext context) => new LoginScreen(),
+};