Created
November 9, 2020 16:39
-
-
Save Moiz-Ali-Moomin/bab1ab10077b4159f7c36f98e5911b4c to your computer and use it in GitHub Desktop.
Task4 CMD
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 'RegistrationPage.dart'; | |
import 'LogIn.dart'; | |
import 'first-screen.dart'; | |
import 'package:firebase_core/firebase_core.dart'; | |
import 'package:flutter/material.dart'; | |
import 'HomePage.dart'; | |
void main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
await Firebase.initializeApp(); | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
routes: { | |
'SignUp': (context) => SignUpUsingEmail(), | |
'SignIn': (context) => LogIn(), | |
'Home': (context) => HomePage(), | |
}, | |
debugShowCheckedModeBanner: false, | |
title: 'Linux Terminal App', | |
theme: ThemeData( | |
primarySwatch: Colors.blue, | |
), | |
home: IntroScreen(), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment