35 lines
846 B
Dart
35 lines
846 B
Dart
|
import 'package:cofounderella/auth/auth_gate.dart';
|
||
|
import 'package:cofounderella/auth/login_or_register.dart';
|
||
|
import 'package:cofounderella/themes/light_mode.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
import 'package:firebase_core/firebase_core.dart';
|
||
|
import 'firebase_options.dart';
|
||
|
|
||
|
|
||
|
void main() async {
|
||
|
// Firebase stuff
|
||
|
WidgetsFlutterBinding.ensureInitialized();
|
||
|
await Firebase.initializeApp(
|
||
|
options: DefaultFirebaseOptions.currentPlatform,
|
||
|
);
|
||
|
// Standard stuff
|
||
|
runApp(const MyApp());
|
||
|
}
|
||
|
|
||
|
class MyApp extends StatelessWidget {
|
||
|
const MyApp({super.key});
|
||
|
|
||
|
// This widget is the root of your application.
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return MaterialApp(
|
||
|
debugShowCheckedModeBanner: false,
|
||
|
title: 'Flutter Demo',
|
||
|
theme: lightMode,
|
||
|
home: const AuthGate(),
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|