mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
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:
parent
92914a8532
commit
914565eb72
49 changed files with 623 additions and 370 deletions
|
@ -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';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue