33 lines
702 B
Dart
33 lines
702 B
Dart
import 'package:event_bus/event_bus.dart';
|
|
|
|
EventBus eventBus = EventBus();
|
|
|
|
class SCGiveRoomLuckPageDisposeEvent {}
|
|
|
|
class GiveRoomLuckWithOtherEvent {
|
|
String giftPic = "";
|
|
List<String> acceptUserIds = [];
|
|
|
|
GiveRoomLuckWithOtherEvent(this.giftPic, this.acceptUserIds);
|
|
}
|
|
|
|
class UpdateDynamicEvent {}
|
|
|
|
class RegisterRewardGrantedEvent {
|
|
final Object? data;
|
|
|
|
RegisterRewardGrantedEvent({this.data});
|
|
}
|
|
|
|
class SCUserRelationChangedEvent {
|
|
const SCUserRelationChangedEvent({
|
|
required this.actorUserId,
|
|
required this.targetUserId,
|
|
required this.isFollowing,
|
|
});
|
|
|
|
final String actorUserId;
|
|
final String targetUserId;
|
|
final bool isFollowing;
|
|
}
|