You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
603B

  1. part of 'supply_bloc.dart';
  2. abstract class SupplyEvent extends Equatable {
  3. const SupplyEvent();
  4. @override
  5. List<Object> get props => [];
  6. }
  7. class DataFetched extends SupplyEvent {
  8. final int selectedId;
  9. final String type;
  10. DataFetched({this.selectedId, @required this.type});
  11. }
  12. class OnRefresh extends SupplyEvent {
  13. final int selectedId;
  14. final String type;
  15. OnRefresh({this.selectedId, @required this.type});
  16. }
  17. class OnSearch extends SupplyEvent {
  18. final String searchString;
  19. final int selectedId;
  20. final String type;
  21. OnSearch({this.searchString, this.selectedId, this.type});
  22. }