TKK_E32210755/lib/main.dart

46 lines
1.2 KiB
Dart

import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:get/get.dart';
import 'package:securify/Components/wrapper.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
options: const FirebaseOptions(
apiKey: "AIzaSyAEVcK0mQz8g8ksZt5JNr1DGU0h9saDFXU",
appId: "1:896505984502:android:209d0623402e0c021b03d7",
messagingSenderId: "896505984502",
projectId: "securify-apps",
),
);
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return GetMaterialApp(
debugShowCheckedModeBanner: false,
title: 'Securify - Apps',
theme: ThemeData(
useMaterial3: true,
appBarTheme: const AppBarTheme(
backgroundColor: Color(0xFF6F94FC),
iconTheme: IconThemeData(
color: Colors.white,
),
titleTextStyle: TextStyle(
color: Colors.white,
fontSize: 25,
fontWeight: FontWeight.w500,
),
toolbarHeight: 38,
),
),
home: const Wrapper(),
);
}
}