mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
* init commit * add slide button * address book popup * fix colors for themes * update exchange page * update cake pay purchase card page * Update rbf_details_page.dart * refactored code * add generating tx bottom sheet * add show scrollbar * minor fixes
28 lines
No EOL
687 B
Dart
28 lines
No EOL
687 B
Dart
abstract class ExecutionState {}
|
|
|
|
class InitialExecutionState extends ExecutionState {}
|
|
|
|
class LoadingTemplateExecutingState extends ExecutionState {}
|
|
|
|
class IsExecutingState extends ExecutionState {}
|
|
|
|
class ExecutedSuccessfullyState extends ExecutionState {
|
|
ExecutedSuccessfullyState({this.payload});
|
|
|
|
final dynamic payload;
|
|
}
|
|
|
|
class FailureState extends ExecutionState {
|
|
FailureState(this.error);
|
|
|
|
final String error;
|
|
}
|
|
|
|
class AwaitingConfirmationState extends ExecutionState {
|
|
AwaitingConfirmationState({this.title, this.message, this.onConfirm, this.onCancel});
|
|
|
|
final String? title;
|
|
final String? message;
|
|
final Function()? onConfirm;
|
|
final Function()? onCancel;
|
|
} |