mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-31 06:58:42 +01:00
Upstream reformatted its whole tree in 16ddc0837. Matching it removes
formatting from the conflict surface of this and every later sync.
45 lines
1.0 KiB
Dart
45 lines
1.0 KiB
Dart
abstract class SelectableItem {
|
|
SelectableItem({required this.title});
|
|
final String title;
|
|
}
|
|
|
|
class OptionTitle extends SelectableItem {
|
|
OptionTitle({required String title}) : super(title: title);
|
|
}
|
|
|
|
abstract class SelectableOption extends SelectableItem {
|
|
SelectableOption({required String title}) : super(title: title);
|
|
|
|
String get lightIconPath;
|
|
|
|
String get darkIconPath;
|
|
|
|
String? get description => null;
|
|
|
|
String? get topLeftSubTitle => null;
|
|
|
|
String? get topLeftSubTitleIconPath => null;
|
|
|
|
String? get topRightSubTitle => null;
|
|
|
|
String? get topRightSubTitleLightIconPath => null;
|
|
|
|
String? get topRightSubTitleDarkIconPath => null;
|
|
|
|
String? get bottomLeftSubTitle => null;
|
|
|
|
String? get bottomLeftSubTitleIconPath => null;
|
|
|
|
String? get bottomRightSubTitle => null;
|
|
|
|
String? get bottomRightSubTitleLightIconPath => null;
|
|
|
|
String? get bottomRightSubTitleDarkIconPath => null;
|
|
|
|
List<String> get badges => [];
|
|
|
|
bool get isOptionSelected => false;
|
|
|
|
set isOptionSelected(bool isSelected) => false;
|
|
}
|