diff options
Diffstat (limited to 'lib/routes.dart')
-rw-r--r-- | lib/routes.dart | 9 |
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(), +}; |