Last active
October 28, 2020 19:29
-
-
Save cankush625/9f350d759046d8c7d991d62170604d27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:chat_app/screens/chat.dart'; | |
import 'package:chat_app/auth/auth.dart'; | |
import 'package:chat_app/auth/reg.dart'; | |
import 'package:chat_app/auth/login.dart'; | |
import 'package:chat_app/screens/home.dart'; | |
import 'package:chat_app/screens/profile.dart'; | |
import 'package:chat_app/screens/location.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_statusbarcolor/flutter_statusbarcolor.dart'; | |
void main() async { | |
FlutterStatusbarcolor.setStatusBarColor(Colors.indigo[900]); | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, | |
initialRoute: "auth", | |
routes: { | |
"auth": (context) => Auth(), | |
"home": (context) => Home(), | |
"reg": (context) => AccountRegistration(), | |
"login": (context) => Login(), | |
"chat": (context) => Chat(), | |
"profile": (context) => Profile(), | |
"location": (context) => Location(), | |
}, | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment