2026-04-26 10:39:51 +10:00
|
|
|
import 'package:flutter/material.dart';
|
2026-04-26 12:00:14 +10:00
|
|
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
2026-04-26 15:49:52 +10:00
|
|
|
import 'package:timezone/data/latest_all.dart' as tz;
|
|
|
|
|
|
2026-04-26 12:00:14 +10:00
|
|
|
import 'app.dart';
|
2026-04-26 15:49:52 +10:00
|
|
|
import 'core/notifications/notification_service.dart';
|
2026-04-26 10:39:51 +10:00
|
|
|
|
2026-04-26 12:00:14 +10:00
|
|
|
void main() async {
|
|
|
|
|
WidgetsFlutterBinding.ensureInitialized();
|
2026-04-26 15:49:52 +10:00
|
|
|
tz.initializeTimeZones();
|
|
|
|
|
await NotificationService.init();
|
2026-04-26 12:00:14 +10:00
|
|
|
runApp(
|
|
|
|
|
const ProviderScope(
|
|
|
|
|
child: App(),
|
|
|
|
|
),
|
|
|
|
|
);
|
2026-04-26 10:39:51 +10:00
|
|
|
}
|