Kaynağa Gözat

1、我的团队事件更新

tags/0.0.15+8
PH2 3 yıl önce
ebeveyn
işleme
44a7df2456
2 değiştirilmiş dosya ile 24 ekleme ve 6 silme
  1. +8
    -2
      lib/widgets/team/fans_list/bloc/team_list_fans_event.dart
  2. +16
    -4
      lib/widgets/team/fans_list/bloc/team_list_fans_state.dart

+ 8
- 2
lib/widgets/team/fans_list/bloc/team_list_fans_event.dart Dosyayı Görüntüle

@@ -18,10 +18,16 @@ class TeamListFansInitEvent extends TeamListFansEvent {
}

/// 下拉刷新
class TeamListFansOnRefreshEvent extends TeamListFansEvent {}
class TeamListFansOnRefreshEvent extends TeamListFansEvent {
@override
bool operator == (Object other) => false;
}

/// 上拉更多
class TeamListFansOnLoadEevnt extends TeamListFansEvent {}
class TeamListFansOnLoadEevnt extends TeamListFansEvent {
@override
bool operator == (Object other) => false;
}

/// 排序(单个条件)
class TeamListFansOnSortEvent extends TeamListFansEvent {


+ 16
- 4
lib/widgets/team/fans_list/bloc/team_list_fans_state.dart Dosyayı Görüntüle

@@ -30,13 +30,25 @@ class TeamListFansErrorState extends TeamListFansState {
}

/// 加载更多失败
class TeamListFansOnLoadErrorState extends TeamListFansState {}
class TeamListFansOnLoadErrorState extends TeamListFansState {
@override
bool operator == (Object other) => false;
}

/// 加载更多数据成功
class TeamListFansOnLoadSuccessState extends TeamListFansState{}
class TeamListFansOnLoadSuccessState extends TeamListFansState{
@override
bool operator == (Object other) => false;
}

/// 下拉刷新成功
class TeamListFansOnRefreshSuccessState extends TeamListFansState{}
class TeamListFansOnRefreshSuccessState extends TeamListFansState{
@override
bool operator == (Object other) => false;
}

/// 下拉刷新数据失败
class TeamListFansOnRefreshErrorState extends TeamListFansState{}
class TeamListFansOnRefreshErrorState extends TeamListFansState{
@override
bool operator == (Object other) => false;
}

Yükleniyor…
İptal
Kaydet