22 lines
613 B
Dart
22 lines
613 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import 'package:star_lock/main/lockDetail/messageWarn/msgNotification/openDoorNotify/openDoorNotify_entity.dart';
|
|
|
|
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'];
|
|
}
|
|
}
|
|
}
|