-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.dart
31 lines (29 loc) · 891 Bytes
/
main.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import 'package:flutter/material.dart';
import 'package:rescue_code/welcomePage.dart';
import 'aboutUs.dart';
import 'ambulance.dart';
import 'chatList.dart';
import 'landingPage.dart';
import 'loginScreen.dart';
import 'onBoardingScreen.dart';
import 'signUpScreen.dart';
void main() async {
runApp(MaterialApp(
debugShowCheckedModeBanner: false,
title: "RescueCode",
home: WelcomePage(),
routes: {
"login": (context) => new LoginPage(),
"signup": (context) => new SignUpPage(),
"landingpage": (context) => new LandingPage(),
"ambulance": (context) => new EmergencyDashboard(),
"boarding": (context) => new OnBoardingScreen(),
"doctors": (context) => ChatList(),
// "profile": (context) => ProfilePage(
// ""
// ),
"about": (context) => AboutUs(),
"welcome": (context) => WelcomePage(),
},
));
}