aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/routes.dart
blob: 4a9ae07daf63950d8eaba931c1d392c6ed8c6165 (plain) (blame)
1
2
3
4
5
6
7
8
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(),
};