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

25 line
499 B

  1. part of 'team_bloc.dart';
  2. abstract class TeamState extends Equatable {
  3. const TeamState();
  4. @override
  5. List<Object> get props => [];
  6. }
  7. class TeamInitial extends TeamState {
  8. }
  9. /// 数据加载成功
  10. class TeamLoadedState extends TeamState{
  11. TeamStyleModel styleModel;
  12. TeamDataModel dataModel;
  13. TeamLoadedState({this.styleModel, this.dataModel});
  14. @override
  15. List<Object> get props => [this.dataModel, this.styleModel];
  16. }
  17. /// 数据加载失败
  18. class TeamErrorState extends TeamState{}