part of 'category_bloc.dart'; sealed class CategoryEvent extends Equatable { const CategoryEvent(); @override List get props => []; } final class CategoriesLoad extends CategoryEvent { final List categories; const CategoriesLoad(this.categories); @override List get props => [categories]; } final class CategoryEditColor extends CategoryEvent { final Category category; final String color; const CategoryEditColor(this.category, this.color); @override List get props => [category, color]; } final class CategoryEditTransfert extends CategoryEvent { final Category category; final bool transfert; const CategoryEditTransfert(this.category, this.transfert); @override List get props => [category, transfert]; } final class CategoryEditEssential extends CategoryEvent { final Category category; final bool essential; const CategoryEditEssential(this.category, this.essential); @override List get props => [category, essential]; } final class CategoryEditLabel extends CategoryEvent { final Category category; final String label; const CategoryEditLabel(this.category, this.label); @override List get props => [category, label]; } final class CategoryRemove extends CategoryEvent { final Category category; const CategoryRemove(this.category); @override List get props => [category]; } final class CategoryAdd extends CategoryEvent {}