mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-28 06:28:41 +01:00
* remove old ui * remove imports to nonexistent files * remove old buy/sell * remove unreachable pages * readd Routes.exchange * remove broken di
24 lines
577 B
Dart
24 lines
577 B
Dart
import 'package:cw_core/enumerate.dart';
|
|
|
|
class ReceivePageOption implements Enumerate {
|
|
static const mainnet = ReceivePageOption._('mainnet');
|
|
static const testnet = ReceivePageOption._('testnet');
|
|
|
|
const ReceivePageOption._(this.value,
|
|
{this.iconPath, this.description, this.isCommon = false, this.addAddressWord = false});
|
|
|
|
final String value;
|
|
final String? iconPath;
|
|
final String? description;
|
|
final bool isCommon;
|
|
final bool addAddressWord;
|
|
|
|
String toString() {
|
|
return value;
|
|
}
|
|
}
|
|
|
|
const ReceivePageOptions = [
|
|
ReceivePageOption.mainnet,
|
|
];
|