update products
This commit is contained in:
10
lib/core/providers/dio_client_provider.dart
Normal file
10
lib/core/providers/dio_client_provider.dart
Normal file
@@ -0,0 +1,10 @@
|
||||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
import '../network/dio_client.dart';
|
||||
|
||||
part 'dio_client_provider.g.dart';
|
||||
|
||||
/// Provider for DioClient singleton
|
||||
@Riverpod(keepAlive: true)
|
||||
DioClient dioClient(Ref ref) {
|
||||
return DioClient();
|
||||
}
|
||||
Reference in New Issue
Block a user