CW-539-DFX-off-ramp-sell-provider (#1229)

* buy_provider_types refactoring

* refactor MoonPay and  sell option flow

* dfx sell flow

* add default sell provider flow

* localization

* Update other_settings_page.dart

* [skip ci] update localization

* [skip ci] providers fixes

* [skip ci] ui fixes

* refactor sell and buy flow

* handle dfx availability by country

* PR fixes
This commit is contained in:
Serhii 2023-12-28 21:20:59 +02:00 committed by GitHub
parent 92914a8532
commit 914565eb72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 623 additions and 370 deletions

View file

@ -2,11 +2,11 @@ import 'package:flutter/foundation.dart';
import 'package:cake_wallet/buy/buy_provider_description.dart';
class BuyException implements Exception {
BuyException({required this.description, required this.text});
BuyException({required this.title, required this.content});
final BuyProviderDescription description;
final String text;
final String title;
final String content;
@override
String toString() => '${description.title}: $text';
String toString() => '$title: $content';
}