import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:stackwallet/providers/exchange/current_exchange_name_state_provider.dart'; import 'package:stackwallet/services/exchange/exchange.dart'; final exchangeProvider = Provider( (ref) => Exchange.fromName( ref.watch(currentExchangeNameStateProvider.state).state, ), );