This commit is contained in:
Phuoc Nguyen
2025-10-10 16:38:07 +07:00
parent e5b247d622
commit b94c158004
177 changed files with 25080 additions and 152 deletions

View File

@@ -0,0 +1,11 @@
import 'package:riverpod_annotation/riverpod_annotation.dart';
import '../../data/datasources/product_local_datasource.dart';
part 'product_datasource_provider.g.dart';
/// Provider for product local data source
/// This is kept alive as it's a dependency injection provider
@Riverpod(keepAlive: true)
ProductLocalDataSource productLocalDataSource(ProductLocalDataSourceRef ref) {
return ProductLocalDataSourceImpl();
}