Created
November 8, 2020 16:37
-
-
Save Moiz-Ali-Moomin/2abc5a6fd7a401ed37820e24ce4ff9bb 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:firebase_core/firebase_core.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:fluttert3/screens/terminal.dart'; | |
import 'package:fluttert3/screens/login.dart'; | |
import 'package:fluttert3/screens/registration.dart'; | |
void main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
await Firebase.initializeApp(); | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, | |
initialRoute: "login", | |
routes: { | |
"reg": (context) => Registration(), | |
"login": (context) => MyLogin(), | |
"terminal": (context) => Terminal(), | |
}, | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment