completed ui for current user apps
This commit is contained in:
parent
24f458b06f
commit
41b7d22fd9
14 changed files with 718 additions and 37 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue