added more blocs

This commit is contained in:
2024-02-07 18:54:48 +01:00
parent 3610c466d2
commit c5ede79dc4
32 changed files with 668 additions and 429 deletions

View File

@@ -0,0 +1,20 @@
part of 'category_bloc.dart';
final class CategoryState extends Equatable {
final List<Category> categories;
const CategoryState({
this.categories = const [],
});
CategoryState copyWith({
List<Category>? categories,
}) {
return CategoryState(
categories: categories ?? this.categories,
);
}
@override
List<Object> get props => [categories];
}