added more blocs
This commit is contained in:
16
lib/domains/category/category_event.dart
Normal file
16
lib/domains/category/category_event.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
part of 'category_bloc.dart';
|
||||
|
||||
sealed class CategoryEvent extends Equatable {
|
||||
const CategoryEvent();
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
}
|
||||
|
||||
final class CategoriesLoad extends CategoryEvent {
|
||||
final List<Category> categories;
|
||||
const CategoriesLoad(this.categories);
|
||||
|
||||
@override
|
||||
List<Object> get props => [categories];
|
||||
}
|
||||
Reference in New Issue
Block a user