part of 'search_material_cubit.dart';

abstract class SearchMaterialState extends Equatable {
  const SearchMaterialState();

  @override
  List<Object> get props => [];
}

class SearchMaterialInitial extends SearchMaterialState {}

class SearchMaterialSuccess extends SearchMaterialState {
  final List<RawMaterial> material;
  const SearchMaterialSuccess(this.material);

  @override
  List<Object> get props => [material];
}

class SearchMaterialLoading extends SearchMaterialState {}

class SearchMaterialFailure extends SearchMaterialState {
  final String message;

  SearchMaterialFailure({this.message = ""});

  @override
  List<Object> get props => [message];
}
