This commit is contained in:
Phuoc Nguyen
2025-10-10 17:36:10 +07:00
parent 04f7042b8d
commit bdaf0b96c5
82 changed files with 4753 additions and 329 deletions

View File

@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:hive_ce_flutter/hive_flutter.dart';
import 'app.dart';
import 'core/di/service_locator.dart';
/// Main entry point of the application
void main() async {
@@ -26,10 +25,7 @@ void main() async {
// await Hive.openBox<CartItemModel>(StorageConstants.cartBox);
// await Hive.openBox<AppSettingsModel>(StorageConstants.settingsBox);
// Setup dependency injection
await setupServiceLocator();
// Run the app
// Run the app with Riverpod (no GetIt needed - using Riverpod for DI)
runApp(
const ProviderScope(
child: RetailApp(),