mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-22 14:38:06 +02:00
feat: implement initial application setup with Riverpod, GoRouter, Hive, and theme configuration
This commit is contained in:
1 parent
163b1632bf
commit
35667e1d24
1 file changed
-4
@@ -1,15 +1,11 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||||
import 'package:media_kit/media_kit.dart';
|
|
||||||
import 'core/database/hive_service.dart';
|
import 'core/database/hive_service.dart';
|
||||||
import 'core/router/app_router.dart';
|
import 'core/router/app_router.dart';
|
||||||
|
|
||||||
void main() async {
|
void main() async {
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
|
|
||||||
// Initialize MediaKit for video playback
|
|
||||||
MediaKit.ensureInitialized();
|
|
||||||
|
|
||||||
// Initialize Hive database with encryption
|
// Initialize Hive database with encryption
|
||||||
await HiveService.init();
|
await HiveService.init();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user