1
0
mirror of https://github.com/Uttkarsh-raj/Plannerly.git synced 2024-11-24 08:02:18 +02:00
Plannerly/Frontend/plannerly/lib/main.dart
2023-11-14 18:53:30 +05:30

28 lines
682 B
Dart

import 'package:flutter/material.dart';
// import 'package:plannerly/models/local_notifications.dart';
import 'package:plannerly/view/widgets/check_login.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
// await LocalNotifications.init();
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Plannerly',
theme: ThemeData(
primarySwatch: Colors.blue,
),
darkTheme: ThemeData.dark(),
themeMode: ThemeMode.dark,
debugShowCheckedModeBanner: false,
home: const MainAuth(),
);
}
}