app-starlock/star_lock/lib/tools/eventBusEventManage.dart

22 lines
510 B
Dart
Raw Normal View History

2023-09-07 18:36:16 +08:00
import 'package:event_bus/event_bus.dart';
import 'package:star_lock/main/lockMian/entity/lockInfoEntity.dart';
/// 创建EventBus
EventBus eventBus = EventBus();
/// 刷新锁列表数据
class RefreshLockListInfoDataEvent{
RefreshLockListInfoDataEvent();
}
/// 刷新考勤员工列表
class RefreshCheckInStaffListDataEvent{
RefreshCheckInStaffListDataEvent();
}
2023-09-07 18:36:16 +08:00
/// 传递当前锁信息
class PassCurrentLockInformationEvent{
KeyInfos keyInfo;
PassCurrentLockInformationEvent(this.keyInfo);
}