This commit is contained in:
efrilm
2025-10-26 16:09:56 +07:00
parent 0e83d213fc
commit 655902a659
23 changed files with 3519 additions and 6 deletions
@@ -0,0 +1,15 @@
part of 'table_loader_bloc.dart';
@freezed
class TableLoaderState with _$TableLoaderState {
factory TableLoaderState({
required List<Table> tables,
required Option<TableFailure> failureOption,
@Default(false) bool isFetching,
@Default(false) bool hasReachedMax,
@Default(1) int page,
}) = _TableLoaderState;
factory TableLoaderState.initial() =>
TableLoaderState(tables: [], failureOption: none());
}