completed ui for current user apps

This commit is contained in:
Andrew 2022-09-09 02:31:00 +07:00
parent 24f458b06f
commit 41b7d22fd9
14 changed files with 718 additions and 37 deletions

View file

@ -1,6 +1,42 @@
part of 'scoop_list_bloc.dart';
@immutable
abstract class ScoopListState {}
abstract class ScoopListState extends Equatable {
const ScoopListState();
@override
List<Object> get props => [];
}
class ScoopListInitial extends ScoopListState {}
class ScoopNotFound extends ScoopListState {}
class ScoopListLoading extends ScoopListState {}
class ScoopLocalAppList extends ScoopListState {
final List<ScoopAppModel> apps;
const ScoopLocalAppList(this.apps);
@override
List<Object> get props => [apps];
}
class ScoopUpdateInProgress extends ScoopListState {
final String message;
const ScoopUpdateInProgress(this.message);
@override
List<Object> get props => [message];
}
class ScoopUpdateError extends ScoopListState {
final String message;
const ScoopUpdateError(this.message);
@override
List<Object> get props => [message];
}