22 lines
613 B
Dart
Raw Normal View History

2023-11-13 09:47:19 +08:00
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:star_lock/main/lockDetail/messageWarn/msgNotification/openDoorNotify/openDoorNotify_entity.dart';
2023-11-13 09:47:19 +08:00
class FamilyDetailsState {
TextEditingController changeNameController = TextEditingController(); //修改名称
var familyName = ''.obs;
var getLockId = 0.obs;
var familyData = DataList().obs;
FamilyDetailsState() {
Map map = Get.arguments;
if (map['lockId'] != null) {
getLockId.value = map['lockId'];
}
if (map['itemData'] != null) {
familyData.value = map['itemData'];
}
}
2023-11-13 09:47:19 +08:00
}