2025-10-26 16:09:56 +07:00
|
|
|
part of 'table_loader_bloc.dart';
|
|
|
|
|
|
|
|
|
|
@freezed
|
|
|
|
|
class TableLoaderEvent with _$TableLoaderEvent {
|
2025-10-26 19:36:59 +07:00
|
|
|
const factory TableLoaderEvent.fetched({
|
|
|
|
|
@Default(false) bool isRefresh,
|
|
|
|
|
String? status,
|
|
|
|
|
}) = _Fetched;
|
2025-10-26 18:06:09 +07:00
|
|
|
const factory TableLoaderEvent.updatedPostion({
|
|
|
|
|
required String id,
|
|
|
|
|
required Offset position,
|
|
|
|
|
}) = _UpdatedPosition;
|
|
|
|
|
const factory TableLoaderEvent.setSelectedTable(Table? table) =
|
|
|
|
|
_SetSelectedTable;
|
2025-10-26 16:09:56 +07:00
|
|
|
}
|