28 lines
657 B
Dart
28 lines
657 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:firebase_core/firebase_core.dart';
|
|
import 'firebase_options.dart';
|
|
import 'screens/splash_screen.dart';
|
|
|
|
void main() async {
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
|
|
await Firebase.initializeApp(
|
|
options: DefaultFirebaseOptions.currentPlatform,
|
|
);
|
|
|
|
runApp(const TerraGuardApp());
|
|
}
|
|
|
|
class TerraGuardApp extends StatelessWidget {
|
|
const TerraGuardApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
debugShowCheckedModeBanner: false,
|
|
title: "TerraGuard",
|
|
theme: ThemeData.dark(),
|
|
home: const SplashScreen(),
|
|
);
|
|
}
|
|
} |