feat: Baskets page's loading,loaded state done

This commit is contained in:
jahongireshonqulov
2025-10-25 11:38:17 +05:00
parent 7474a8b677
commit 6a5b4b6e3a
12 changed files with 186 additions and 27 deletions

View File

@@ -15,6 +15,6 @@ class BasketBloc extends Bloc<BasketEvent, BasketState> {
_onStarted(_Started event, Emitter<BasketState> emit) async {
emit(state.copyWith(status: RequestStatus.loading));
await Future.delayed(TimeDelayConst.duration3);
emit(state.copyWith(status: RequestStatus.loaded));
emit(state.copyWith(status: RequestStatus.loaded, orders: []));
}
}