cake_wallet/lib/ionia/ionia_create_state.dart

57 lines
1.4 KiB
Dart
Raw Normal View History

2022-06-07 03:14:35 +00:00
import 'package:cake_wallet/ionia/ionia_virtual_card.dart';
2022-06-01 01:47:00 +00:00
import 'package:flutter/material.dart';
2022-06-07 03:14:35 +00:00
abstract class IoniaCreateAccountState {}
2022-06-01 01:47:00 +00:00
2022-06-07 03:14:35 +00:00
class IoniaCreateStateSuccess extends IoniaCreateAccountState {}
2022-06-01 01:47:00 +00:00
2022-06-07 03:14:35 +00:00
class IoniaCreateStateLoading extends IoniaCreateAccountState {}
2022-06-01 01:47:00 +00:00
2022-06-07 03:14:35 +00:00
class IoniaCreateStateFailure extends IoniaCreateAccountState {
2022-06-01 01:47:00 +00:00
IoniaCreateStateFailure({@required this.error});
final String error;
}
abstract class IoniaOtpState {}
class IoniaOtpValidating extends IoniaOtpState {}
class IoniaOtpSuccess extends IoniaOtpState {}
class IoniaOtpSendDisabled extends IoniaOtpState {}
class IoniaOtpSendEnabled extends IoniaOtpState {}
class IoniaOtpFailure extends IoniaOtpState {
IoniaOtpFailure({@required this.error});
final String error;
}
2022-06-07 03:14:35 +00:00
class IoniaCreateCardState {}
class IoniaCreateCardSuccess extends IoniaCreateCardState {}
class IoniaCreateCardLoading extends IoniaCreateCardState {}
class IoniaCreateCardFailure extends IoniaCreateCardState {
IoniaCreateCardFailure({@required this.error});
final String error;
}
class IoniaFetchCardState {}
class IoniaNoCardState extends IoniaFetchCardState {}
class IoniaFetchingCard extends IoniaFetchCardState {}
class IoniaFetchCardFailure extends IoniaFetchCardState {}
class IoniaCardSuccess extends IoniaFetchCardState {
IoniaCardSuccess({@required this.card});
final IoniaVirtualCard card;
}