111
This commit is contained in:
@@ -14,6 +14,7 @@ import 'data/services/market_service.dart';
|
||||
import 'data/services/trade_service.dart';
|
||||
import 'data/services/asset_service.dart';
|
||||
import 'data/services/fund_service.dart';
|
||||
import 'data/services/bonus_service.dart';
|
||||
import 'providers/auth_provider.dart';
|
||||
import 'providers/market_provider.dart';
|
||||
import 'providers/asset_provider.dart';
|
||||
@@ -89,6 +90,7 @@ class MyApp extends StatelessWidget {
|
||||
Provider<TradeService>(create: (_) => TradeService(dioClient)),
|
||||
Provider<AssetService>(create: (_) => AssetService(dioClient)),
|
||||
Provider<FundService>(create: (_) => FundService(dioClient)),
|
||||
Provider<BonusService>(create: (_) => BonusService(dioClient)),
|
||||
// State Management
|
||||
ChangeNotifierProvider<AuthProvider>(
|
||||
create: (ctx) => AuthProvider(ctx.read<UserService>()),
|
||||
|
||||
Reference in New Issue
Block a user