基础组件库
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.

search_event.dart 534 B

12345678910111213141516171819202122232425262728
  1. part of 'search_bloc.dart';
  2. abstract class SearchEvent extends Equatable {
  3. const SearchEvent();
  4. @override
  5. List<Object> get props => [];
  6. }
  7. /// 初始化方法
  8. class SearchInitEvent extends SearchEvent {
  9. final Map<String, dynamic> model;
  10. const SearchInitEvent({this.model});
  11. @override
  12. List<Object> get props => [model];
  13. }
  14. /// 搜索方法
  15. class SearchSubmitEvent extends SearchEvent {
  16. final String model;
  17. const SearchSubmitEvent({@required this.model});
  18. @override
  19. List<Object> get props => [this.model];
  20. }