1,新增我的-设置-锁用户管理模块UI

2,新增我的-设置-授权管理员模块UI
3,修改commonItem的line颜色
4,修改部分页面的Switch样式
This commit is contained in:
Daisy 2023-07-24 14:36:56 +08:00
parent 681ed316bc
commit 9232999c0d
12 changed files with 875 additions and 313 deletions

View File

@ -236,6 +236,7 @@
"problemTwo":"Problem Two", "problemTwo":"Problem Two",
"problemThree":"Problem Three", "problemThree":"Problem Three",
"pleaseEnterYourAnswer":"Please Enter Your Answer", "pleaseEnterYourAnswer":"Please Enter Your Answer",
"aboutToExpire":"About to expire",
"designation": "designation", "designation": "designation",
"state": "State", "state": "State",

View File

@ -236,6 +236,7 @@
"problemTwo":"problemTwo", "problemTwo":"problemTwo",
"problemThree":"problemThree", "problemThree":"problemThree",
"pleaseEnterYourAnswer":"pleaseEnterYourAnswer", "pleaseEnterYourAnswer":"pleaseEnterYourAnswer",
"aboutToExpire":"About to expire",
"designation": "designation", "designation": "designation",
"state": "state", "state": "state",

View File

@ -236,6 +236,7 @@
"problemTwo":"问题二", "problemTwo":"问题二",
"problemThree":"问题三", "problemThree":"问题三",
"pleaseEnterYourAnswer":"请输入你的答案", "pleaseEnterYourAnswer":"请输入你的答案",
"aboutToExpire":"即将到期",
"designation": "名称", "designation": "名称",
"state": "状态", "state": "状态",

View File

@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:star_lock/mine/mineSet/lockUserManage/lockUserManageListPage.dart';
import 'package:star_lock/mine/mineSet/mineSet_page.dart'; import 'package:star_lock/mine/mineSet/mineSet_page.dart';
import 'login/forgetPassword/starLock_forgetPassword_page.dart'; import 'login/forgetPassword/starLock_forgetPassword_page.dart';
@ -98,113 +99,154 @@ import 'mine/valueAddedServices/valueAddedServicesNoteAndEmailDetail/valueAddedS
import 'mine/valueAddedServices/valueAddedServicesRealName/valueAddedServicesRealName_page.dart'; import 'mine/valueAddedServices/valueAddedServicesRealName/valueAddedServicesRealName_page.dart';
import 'mine/valueAddedServices/valueAddedServicesSMSTemplate/valueAddedServicesAddSMSTemplate/valueAddedServicesAddSMSTemplate_page.dart'; import 'mine/valueAddedServices/valueAddedServicesSMSTemplate/valueAddedServicesAddSMSTemplate/valueAddedServicesAddSMSTemplate_page.dart';
import 'mine/valueAddedServices/valueAddedServicesSMSTemplate/valueAddedServicesListSMSTemplate/valueAddedServicesListSMSTemplate_page.dart'; import 'mine/valueAddedServices/valueAddedServicesSMSTemplate/valueAddedServicesListSMSTemplate/valueAddedServicesListSMSTemplate_page.dart';
import 'mine/mineSet/authorizedAdministrator/authorizedAdministratorListPage.dart';
import 'starLockApplication.dart'; import 'starLockApplication.dart';
abstract class Routers { abstract class Routers {
static const initial = '/';// static const initial = '/'; //
static const starLockMain = '/StarLockMain';// static const starLockMain = '/StarLockMain'; //
static const starLockMinePage = '/StarLockMinePage';// static const starLockMinePage = '/StarLockMinePage'; //
static const seletLockTypePage = '/SeletLockTypePage';// static const seletLockTypePage = '/SeletLockTypePage'; //
static const addLockPage = '/AddLockPage';// static const addLockPage = '/AddLockPage'; //
static const nearbyLockPage = '/NearbyLockPage';// static const nearbyLockPage = '/NearbyLockPage'; //
static const lockAddressPage = '/LockAddressPage';// static const lockAddressPage = '/LockAddressPage'; //
static const saveLockPage = '/SaveLockPage';// static const saveLockPage = '/SaveLockPage'; //
static const lockDetailPage = '/LockDetailPage';// static const lockDetailPage = '/LockDetailPage'; //
static const electronicKeyListPage = '/ElectronicKeyListPage';// static const electronicKeyListPage = '/ElectronicKeyListPage'; //
static const electronicKeyDetailPage = '/ElectronicKeyDetailPage';// static const electronicKeyDetailPage = '/ElectronicKeyDetailPage'; //
static const electronicKeyDetailChangeDate = '/ElectronicKeyDetailChangeDate';// static const electronicKeyDetailChangeDate =
static const sendElectronicKeyManagePage = '/SendElectronicKeyManagePage';// '/ElectronicKeyDetailChangeDate'; //
static const massSendElectronicKeyManagePage = '/MassSendElectronicKeyManagePage';// static const sendElectronicKeyManagePage =
static const electronicKeyPeriodValidityPage = '/ElectronicKeyPeriodValidityPage';// '/SendElectronicKeyManagePage'; //
static const sendEmailNotificationPage = '/SendEmailNotificationPage';// static const massSendElectronicKeyManagePage =
static const passwordKeyListPage = '/PasswordKeyListPage';// '/MassSendElectronicKeyManagePage'; //
static const passwordKeyManagePage = '/PasswordKeyManagePage';// static const electronicKeyPeriodValidityPage =
static const passwordKeyDetailPage = '/PasswordKeyDetailPage';// '/ElectronicKeyPeriodValidityPage'; //
static const otherTypeKeyListPage = '/OtherTypeKeyListPage';// static const sendEmailNotificationPage = '/SendEmailNotificationPage'; //
static const otherTypeKeyDetailPage = '/OtherTypeKeyDetailPage';// static const passwordKeyListPage = '/PasswordKeyListPage'; //
static const otherTypeKeyManagePage = '/OtherTypeKeyManagePage';// static const passwordKeyManagePage = '/PasswordKeyManagePage'; //
static const authorizedAdminListPage = '/AuthorizedAdminListPage';// static const passwordKeyDetailPage = '/PasswordKeyDetailPage'; //
static const authorizedAdminDetailPage = '/AuthorizedAdminDetailPage';// static const otherTypeKeyListPage = '/OtherTypeKeyListPage'; //
static const authorizedAdminManagePage = '/AuthorizedAdminManagePage';// static const otherTypeKeyDetailPage =
static const volumeAuthorizationLockManagePage = '/VolumeAuthorizationLockManagePage';// '/OtherTypeKeyDetailPage'; //
static const lockOperatingRecordPage = '/LockOperatingRecordPage';// static const otherTypeKeyManagePage =
static const lockSetPage = '/LockSetPage';// '/OtherTypeKeyManagePage'; //
static const basicInformationPage = '/BasicInformationPage';// static const authorizedAdminListPage = '/AuthorizedAdminListPage'; //
static const uploadElectricQuantityPage = '/UploadElectricQuantityPage';// static const authorizedAdminDetailPage =
static const editLockNamePage = '/EditLockNamePage';// '/AuthorizedAdminDetailPage'; //
static const lockSeletGroupingPage = '/LockSeletGroupingPage';// static const authorizedAdminManagePage =
static const adminOpenLockPasswordPage = '/AdminOpenLockPasswordPage';// '/AuthorizedAdminManagePage'; //
static const wirelessKeyboardPage = '/WirelessKeyboardPage';// static const volumeAuthorizationLockManagePage =
static const addWirelessKeyboardPage = '/AddWirelessKeyboardPage';// '/VolumeAuthorizationLockManagePage'; //
static const addWirelessKeyboardScreenNotLightOnPage = '/AddWirelessKeyboardScreenNotLightOnPage';// static const lockOperatingRecordPage = '/LockOperatingRecordPage'; //
static const seletWirelessKeyboardPage = '/SeletWirelessKeyboardPage';// static const lockSetPage = '/LockSetPage'; //
static const doorMagneticPage = '/DoorMagneticPage';// static const basicInformationPage = '/BasicInformationPage'; //
static const addDoorMagneticPage = '/AddDoorMagneticPage';// static const uploadElectricQuantityPage =
static const nearbyDoorMagneticPage = '/NearbyDoorMagneticPage';// '/UploadElectricQuantityPage'; //
static const remoteUnlockingPage = '/RemoteUnlockingPage';// static const editLockNamePage = '/EditLockNamePage'; //
static const automaticBlockingPage = '/AutomaticBlockingPage';// static const lockSeletGroupingPage = '/LockSeletGroupingPage'; //
static const normallyOpenModePage = '/NormallyOpenModePage';// static const adminOpenLockPasswordPage =
static const lockSoundSetPage = '/LockSoundSetPage';// '/AdminOpenLockPasswordPage'; //
static const burglarAlarmPage = '/BurglarAlarmPage';// static const wirelessKeyboardPage = '/WirelessKeyboardPage'; //
static const resetButtonPage = '/ResetButtonPage';// static const addWirelessKeyboardPage = '/AddWirelessKeyboardPage'; //
static const unlockQRCodePage = '/UnlockQRCodePage';// static const addWirelessKeyboardScreenNotLightOnPage =
static const lockTimePage = '/LockTimePage';// '/AddWirelessKeyboardScreenNotLightOnPage'; //
static const diagnosePage = '/DiagnosePage';// static const seletWirelessKeyboardPage =
static const uploadDataPage = '/UploadDataPage';// '/SeletWirelessKeyboardPage'; //
static const importOtherLockDataPage = '/ImportOtherLockDataPage';// static const doorMagneticPage = '/DoorMagneticPage'; //
static const lockEscalationPage = '/LockEscalationPage';// static const addDoorMagneticPage = '/AddDoorMagneticPage'; //
static const markedHouseStatePage = '/MarkedHouseStatePage';// static const nearbyDoorMagneticPage = '/NearbyDoorMagneticPage'; //
static const checkingInListPage = '/CheckingInListPage';// static const remoteUnlockingPage = '/RemoteUnlockingPage'; //
static const checkingInSetPage = '/CheckingInSetPage';// static const automaticBlockingPage = '/AutomaticBlockingPage'; //
static const checkingInStaffManagePage = '/CheckingInStaffManagePage';// static const normallyOpenModePage = '/NormallyOpenModePage'; //
static const checkingInAddStaffPage = '/CheckingInAddStaffPage';// static const lockSoundSetPage = '/LockSoundSetPage'; //
static const checkingInSetWorkTimePage = '/CheckingInSetWorkTimePage';// static const burglarAlarmPage = '/BurglarAlarmPage'; //
static const checkingInSetWorkdaySet = '/CheckingInSetWorkdaySet';// static const resetButtonPage = '/ResetButtonPage'; //
static const checkingInSetHolidaysPage = '/CheckingInSetHolidaysPage';// static const unlockQRCodePage = '/UnlockQRCodePage'; //
static const checkingInAddHolidaysPage = '/CheckingInAddHolidaysPage';// static const lockTimePage = '/LockTimePage'; //
static const checkingInDetailPage = '/CheckingInDetailPage';// static const diagnosePage = '/DiagnosePage'; //
static const uploadDataPage = '/UploadDataPage'; //
static const importOtherLockDataPage = '/ImportOtherLockDataPage'; //
static const lockEscalationPage = '/LockEscalationPage'; //
static const markedHouseStatePage = '/MarkedHouseStatePage'; //
static const checkingInListPage = '/CheckingInListPage'; //
static const checkingInSetPage = '/CheckingInSetPage'; //
static const checkingInStaffManagePage = '/CheckingInStaffManagePage'; //
static const checkingInAddStaffPage = '/CheckingInAddStaffPage'; //
static const checkingInSetWorkTimePage =
'/CheckingInSetWorkTimePage'; //
static const checkingInSetWorkdaySet = '/CheckingInSetWorkdaySet'; //
static const checkingInSetHolidaysPage =
'/CheckingInSetHolidaysPage'; //
static const checkingInAddHolidaysPage = '/CheckingInAddHolidaysPage'; //
static const checkingInDetailPage = '/CheckingInDetailPage'; //
static const mineSetPage = '/MineSetPage';// static const mineSetPage = '/MineSetPage'; //
static const mineMultiLanguagePage = '/MineMultiLanguagePage';// static const mineMultiLanguagePage = '/MineMultiLanguagePage'; //
static const minePersonInfoPage = '/MinePersonInfoPage';// static const minePersonInfoPage = '/MinePersonInfoPage'; //
static const minePersonInfoEditNamePage = '/MinePersonInfoEditNamePage';// static const minePersonInfoEditNamePage =
static const minePersonInfoEditAccountPage = '/MinePersonInfoEditAccountPage';// '/MinePersonInfoEditNamePage'; //
static const minePersonInfoEditAccountNextPage = '/MinePersonInfoEditAccountNextPage';// static const minePersonInfoEditAccountPage =
static const minePersonInfoEditIphonePage = '/MinePersonInfoEditIphonePage';// '/MinePersonInfoEditAccountPage'; //
static const minePersonInfoResetPasswordPage = '/MinePersonInfoResetPasswordPage';// static const minePersonInfoEditAccountNextPage =
static const minePersonInfoSetSafetyProblemPage = '/MinePersonInfoSetSafetyProblemPage';// '/MinePersonInfoEditAccountNextPage'; //
static const minePersonInfoEditIphonePage =
'/MinePersonInfoEditIphonePage'; //
static const minePersonInfoResetPasswordPage =
'/MinePersonInfoResetPasswordPage'; //
static const minePersonInfoSetSafetyProblemPage =
'/MinePersonInfoSetSafetyProblemPage'; //
static const gatewayListPage = '/GatewayListPage';// - static const gatewayListPage = '/GatewayListPage'; // -
static const gatewayDetailPage = '/GatewayDetailPage';// - static const gatewayDetailPage = '/GatewayDetailPage'; // -
static const gatewayConnectionLockPage = '/GatewayConnectionLockPage';// - static const gatewayConnectionLockPage =
static const seletGatewayTypePage = '/SeletGatewayTypePage';// - '/GatewayConnectionLockPage'; // -
static const seletGatewayTypeNextTipPage = '/SeletGatewayTypeNextTipPage';// - static const seletGatewayTypePage = '/SeletGatewayTypePage'; // -
static const seletGatewayPage = '/SeletGatewayPage';// - static const seletGatewayTypeNextTipPage =
static const gatewayConfigurationWifiPage = '/GatewayConfigurationWifiPage';// -wifi '/SeletGatewayTypeNextTipPage'; // -
static const seletGatewayPage = '/SeletGatewayPage'; // -
static const gatewayConfigurationWifiPage =
'/GatewayConfigurationWifiPage'; // -wifi
static const messageListPage = '/MessageListPage';// - static const messageListPage = '/MessageListPage'; // -
static const supportStaffPage = '/SupportStaffPage';// - static const supportStaffPage = '/SupportStaffPage'; // -
static const valueAddedServicesPage = '/ValueAddedServicesPage';// - static const valueAddedServicesPage = '/ValueAddedServicesPage'; // -
static const abountPage = '/AbountPage';// - static const abountPage = '/AbountPage'; // -
static const valueAddedServicesNoteAndEmailDetailPage = '/ValueAddedServicesNoteAndEmailDetailPage';// - static const valueAddedServicesNoteAndEmailDetailPage =
static const valueAddedServicesRealNamePage = '/ValueAddedServicesRealNamePage';// - '/ValueAddedServicesNoteAndEmailDetailPage'; // -
static const valueAddedServicesHighFunctionPage = '/ValueAddedServicesHighFunctionPage';// - static const valueAddedServicesRealNamePage =
static const valueAddedServicesBuyPage = '/ValueAddedServicesBuyPage';// - '/ValueAddedServicesRealNamePage'; // -
static const valueAddedServicesListSMSTemplatePage = '/ValueAddedServicesListSMSTemplatePage';// - static const valueAddedServicesHighFunctionPage =
static const valueAddedServicesAddSMSTemplatePage = '/valueAddedServicesAddSMSTemplatePage';// - '/ValueAddedServicesHighFunctionPage'; // -
static const valueAddedServicesListEmailTemplatePage = '/ValueAddedServicesListEmailTemplatePage';// - static const valueAddedServicesBuyPage =
static const valueAddedServicesAddEmailTemplatePage = '/ValueAddedServicesAddEmailTemplatePage';// - '/ValueAddedServicesBuyPage'; // -
static const valueAddedServicesBuyAndUseRecordManagePage = '/ValueAddedServicesBuyAndUseRecordManagePage';// -使 static const valueAddedServicesListSMSTemplatePage =
'/ValueAddedServicesListSMSTemplatePage'; // -
static const valueAddedServicesAddSMSTemplatePage =
'/valueAddedServicesAddSMSTemplatePage'; // -
static const valueAddedServicesListEmailTemplatePage =
'/ValueAddedServicesListEmailTemplatePage'; // -
static const valueAddedServicesAddEmailTemplatePage =
'/ValueAddedServicesAddEmailTemplatePage'; // -
static const valueAddedServicesBuyAndUseRecordManagePage =
'/ValueAddedServicesBuyAndUseRecordManagePage'; // -使
static const lockScreenPage = '/LockScreenPage';// - static const lockScreenPage = '/LockScreenPage'; // -
static const aPPUnlockNeedMobileNetworkingLockPage = '/APPUnlockNeedMobileNetworkingLockPage';// -app开锁时需手机连网的锁 static const aPPUnlockNeedMobileNetworkingLockPage =
static const hideInvalidUnlockPermissionsPage = '/HideInvalidUnlockPermissionsPage';// - '/APPUnlockNeedMobileNetworkingLockPage'; // -app开锁时需手机连网的锁
static const hideInvalidUnlockPermissionsPage =
'/HideInvalidUnlockPermissionsPage'; // -
static const starLockLoginPage = '/StarLockLoginPage';// static const lockUserManageLisPage = '/LockUserManageLisPage'; //-
static const starLockRegisterPage = '/StarLockRegisterPage';// static const authorizedAdministratorListPage =
static const starLockForgetPasswordPage = '/StarLockForgetPasswordPage';// '/AuthorizedAdministratorListPage'; //-
static const seletCountryRegionPage = '/SeletCountryRegionPage';//
static const starLockLoginPage = '/StarLockLoginPage'; //
static const starLockRegisterPage = '/StarLockRegisterPage'; //
static const starLockForgetPasswordPage =
'/StarLockForgetPasswordPage'; //
static const seletCountryRegionPage = '/SeletCountryRegionPage'; //
} }
abstract class AppRouters { abstract class AppRouters {
@ -424,7 +466,7 @@ abstract class AppRouters {
GetPage( GetPage(
name: Routers.lockTimePage, name: Routers.lockTimePage,
page: () => const LockTimePage(), page: () => const LockTimePage(),
),// ), //
GetPage( GetPage(
name: Routers.diagnosePage, name: Routers.diagnosePage,
page: () => const DiagnosePage(), page: () => const DiagnosePage(),
@ -601,5 +643,11 @@ abstract class AppRouters {
name: Routers.hideInvalidUnlockPermissionsPage, name: Routers.hideInvalidUnlockPermissionsPage,
page: () => const HideInvalidUnlockPermissionsPage(), page: () => const HideInvalidUnlockPermissionsPage(),
), ),
GetPage(
name: Routers.authorizedAdministratorListPage,
page: () => const AuthorizedAdministratorListPage()),
GetPage(
name: Routers.lockUserManageLisPage,
page: () => const LockUserManageListListPage())
]; ];
} }

View File

@ -1,10 +1,8 @@
import 'dart:ui'; import 'dart:ui';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
class AppColors { class AppColors {
// static Color mainColor = const Color(0xFF385DEA); // static Color mainColor = const Color(0xFF385DEA);
static Color mainColor = const Color(0xFF4777EE); static Color mainColor = const Color(0xFF4777EE);
static Color mainBackgroundColor = const Color(0xFFF5F5F5); static Color mainBackgroundColor = const Color(0xFFF5F5F5);
@ -22,7 +20,6 @@ class AppColors {
static Color buttonEnableTextColor = const Color(0xFFFFFFFF); static Color buttonEnableTextColor = const Color(0xFFFFFFFF);
static Color buttonDisableTextColor = buttonEnableTextColor.withOpacity(0.6); static Color buttonDisableTextColor = buttonEnableTextColor.withOpacity(0.6);
static Color deleteBtnBgColor = const Color(0xFFFF495C).withOpacity(0.7); static Color deleteBtnBgColor = const Color(0xFFFF495C).withOpacity(0.7);
static Color touristColor = const Color(0xFFF58A22); static Color touristColor = const Color(0xFFF58A22);
@ -37,20 +34,21 @@ class AppColors {
static Color dialogInputBgColor = pickerItemSelectedBgColor; static Color dialogInputBgColor = pickerItemSelectedBgColor;
static Color introduceDialogBgColor = const Color(0xFF112B4C); static Color introduceDialogBgColor = const Color(0xFF112B4C);
static Color pickerTitleTextColor = const Color(0xFF000000); static Color pickerTitleTextColor = const Color(0xFF000000);
static Color pickerInfoTextColor = pickerTitleTextColor.withOpacity(0.5); static Color pickerInfoTextColor = pickerTitleTextColor.withOpacity(0.5);
static Color pickerItemSelectedTextColor = const Color(0xFF0093E5); static Color pickerItemSelectedTextColor = const Color(0xFF0093E5);
static Color pickerItemSelectedBgColor = const Color(0xFFE4E4E4); static Color pickerItemSelectedBgColor = const Color(0xFFE4E4E4);
static Color pickerItemUnselectTextColor = pickerTitleTextColor.withOpacity(0.5); static Color pickerItemUnselectTextColor =
pickerTitleTextColor.withOpacity(0.5);
static Color normalTextColor = const Color(0xFFFFFFFF); static Color normalTextColor = const Color(0xFFFFFFFF);
static Color inputErrorTextColor = const Color(0xFFFF6666); static Color inputErrorTextColor = const Color(0xFFFF6666);
static Color errorImageColor = const Color(0xFFFF495C ); static Color errorImageColor = const Color(0xFFFF495C);
static Color inputTitleTextColor = const Color(0xFFFFFFFF).withOpacity(0.6); static Color inputTitleTextColor = const Color(0xFFFFFFFF).withOpacity(0.6);
static Color settingItemInfoTextColor = const Color(0xFFFFFFFF).withOpacity(0.6); static Color settingItemInfoTextColor =
static Color dividerColor = const Color(0xFFFFFFFF).withOpacity(0.6); const Color(0xFFFFFFFF).withOpacity(0.6);
static Color dividerColor = const Color(0xFFFFFFFF).withOpacity(0.6);
static Color textFieldEnableBorderColor = normalTextColor.withOpacity(0.2); static Color textFieldEnableBorderColor = normalTextColor.withOpacity(0.2);
static Color textFieldFocusBorderColor = normalTextColor.withOpacity(0.2); static Color textFieldFocusBorderColor = normalTextColor.withOpacity(0.2);
@ -59,7 +57,6 @@ class AppColors {
static Color protocolTextColor = touristColor; static Color protocolTextColor = touristColor;
static Color topTabBarSelectedBgColor = buttonEnableColor; static Color topTabBarSelectedBgColor = buttonEnableColor;
static Color topTabBarUnselectedBgColor = buttonEnableTextColor; static Color topTabBarUnselectedBgColor = buttonEnableTextColor;
static Color tapTabBarSelectedTextColor = buttonEnableTextColor; static Color tapTabBarSelectedTextColor = buttonEnableTextColor;
@ -71,26 +68,26 @@ class AppColors {
static Color wifiDisableColor = const Color(0xFFA8A8A8); static Color wifiDisableColor = const Color(0xFFA8A8A8);
static Color get paginationColor => const Color(0xFF01295C).withOpacity(45); static Color get paginationColor => const Color(0xFF01295C).withOpacity(45);
static Color get paginationActiveColor => const Color(0xFFFFFFFF).withOpacity(65); static Color get paginationActiveColor =>
const Color(0xFFFFFFFF).withOpacity(65);
static Color scanPointerLineColor = Colors.blue; static Color scanPointerLineColor = Colors.blue;
static Color scanColor0 = const Color(0xFF0093E5).withOpacity(0.05); static Color scanColor0 = const Color(0xFF0093E5).withOpacity(0.05);
static Color scanColor1 = const Color(0xFF0093E5).withOpacity(0.1); static Color scanColor1 = const Color(0xFF0093E5).withOpacity(0.1);
static Color scanColor2 = const Color(0xFF0093E5).withOpacity(0.3); static Color scanColor2 = const Color(0xFF0093E5).withOpacity(0.3);
static Color scanColor3 = const Color(0xFF0093E5).withOpacity(0.5); static Color scanColor3 = const Color(0xFF0093E5).withOpacity(0.5);
static Color scanColor4 = const Color(0xFF0093E5).withOpacity(0.9); static Color scanColor4 = const Color(0xFF0093E5).withOpacity(0.9);
static Color scanCircleCenterColor0 = Colors.blue.withOpacity(0.9); static Color scanCircleCenterColor0 = Colors.blue.withOpacity(0.9);
static Color scanCircleCenterColor1 = const Color(0xffE9F3FF).withOpacity(0.8); static Color scanCircleCenterColor1 =
const Color(0xffE9F3FF).withOpacity(0.8);
static Color starCenterColor = const Color(0xFF0093E5); static Color starCenterColor = const Color(0xFF0093E5);
static Color starMiddleColor = const Color.fromRGBO(255, 255, 255,1); static Color starMiddleColor = const Color.fromRGBO(255, 255, 255, 1);
static Color starBorderColor = const Color.fromRGBO(255, 255, 255,0.2); static Color starBorderColor = const Color.fromRGBO(255, 255, 255, 0.2);
static Color starOutsideColor = const Color.fromRGBO(255, 255, 255,0.01); static Color starOutsideColor = const Color.fromRGBO(255, 255, 255, 0.01);
static Color workingStateInfoBgColor = const Color(0xFF20354E); static Color workingStateInfoBgColor = const Color(0xFF20354E);
@ -98,9 +95,9 @@ class AppColors {
static Color color_level_1 = const Color(0xFFFFFFFF); static Color color_level_1 = const Color(0xFFFFFFFF);
static Color color_level_2 = const Color(0xFFF7B500); static Color color_level_2 = const Color(0xFFF7B500);
static Color switchTrackSelectedColor = const Color(0xFF0093E5); static Color switchTrackSelectedColor = const Color(0xFF0093E5);
static Color switchTrackUnselectedColor = const Color(0xFF5A6676).withOpacity(0.5); static Color switchTrackUnselectedColor =
const Color(0xFF5A6676).withOpacity(0.5);
static Color switchThumbColor = const Color(0xFFFFFFFF); static Color switchThumbColor = const Color(0xFFFFFFFF);
static Color popMenuItemUnselectedBg = const Color(0xFF112B4C); static Color popMenuItemUnselectedBg = const Color(0xFF112B4C);
@ -108,15 +105,15 @@ class AppColors {
static Color blackColor = const Color(0xFF000000); static Color blackColor = const Color(0xFF000000);
static Color dateSelectedBgColor = const Color(0xFF0093E5); static Color dateSelectedBgColor = const Color(0xFF0093E5);
static Color dateSelectedTextColor = const Color(0xFFFFFFFF); static Color dateSelectedTextColor = const Color(0xFFFFFFFF);
static Color dateUnselectedTextColor = blackColor; static Color dateUnselectedTextColor = blackColor;
static Color dateUnselectedDialogBgColor = const Color(0xFFC9C9C9).withOpacity(0.5); static Color dateUnselectedDialogBgColor =
const Color(0xFFC9C9C9).withOpacity(0.5);
static Color dateUnselectedBgColor = const Color(0xFFFFFFFF); static Color dateUnselectedBgColor = const Color(0xFFFFFFFF);
static Color progressBgColor = const Color(0xFF022345); static Color progressBgColor = const Color(0xFF022345);
static Color progressValueColor = const Color(0xFF0093E5); static Color progressValueColor = const Color(0xFF0093E5);
} static const greyLineColor = Color.fromRGBO(240, 240, 240, 1); //线
}

View File

@ -1,3 +1,4 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_native_contact_picker/flutter_native_contact_picker.dart'; import 'package:flutter_native_contact_picker/flutter_native_contact_picker.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
@ -30,10 +31,9 @@ class _AuthorizedAdminPageState extends State<AuthorizedAdminPage> {
void initState() { void initState() {
// TODO: implement initState // TODO: implement initState
super.initState(); super.initState();
} }
Widget indexChangeWidget(){ Widget indexChangeWidget() {
switch (int.parse(widget.type)) { switch (int.parse(widget.type)) {
case 0: case 0:
{ {
@ -49,7 +49,7 @@ class _AuthorizedAdminPageState extends State<AuthorizedAdminPage> {
); );
} }
default: default:
// //
return Column( return Column(
children: [ children: [
keyInfoWidget(), keyInfoWidget(),
@ -61,45 +61,68 @@ class _AuthorizedAdminPageState extends State<AuthorizedAdminPage> {
} }
// widget // widget
Widget keyInfoWidget(){ Widget keyInfoWidget() {
return Column( return Column(
children: [ children: [
Container(height: 10.h), Container(height: 10.h),
CommonItem(leftTitel:TranslationLoader.lanKeys!.receiver!.tr, rightTitle:"", isHaveLine: true, isHaveRightWidget: true, rightWidget: getTFWidget(true, TranslationLoader.lanKeys!.pleaseEnterNumberOrEmail!.tr)), CommonItem(
CommonItem(leftTitel:TranslationLoader.lanKeys!.name!.tr, rightTitle:"", isHaveRightWidget: true, rightWidget: getTFWidget(false, TranslationLoader.lanKeys!.pleaseEnter!.tr)), leftTitel: TranslationLoader.lanKeys!.receiver!.tr,
rightTitle: "",
isHaveLine: true,
isHaveRightWidget: true,
rightWidget: getTFWidget(
true, TranslationLoader.lanKeys!.pleaseEnterNumberOrEmail!.tr)),
CommonItem(
leftTitel: TranslationLoader.lanKeys!.name!.tr,
rightTitle: "",
isHaveRightWidget: true,
rightWidget:
getTFWidget(false, TranslationLoader.lanKeys!.pleaseEnter!.tr)),
Container(height: 10.h), Container(height: 10.h),
], ],
); );
} }
// //
Widget keyTimeWidget(){ Widget keyTimeWidget() {
return Column( return Column(
children: [ children: [
CommonItem(leftTitel:TranslationLoader.lanKeys!.effectiveTime!.tr, rightTitle:"2020.06.20 11:49", isHaveLine: true, isHaveDirection: true, action:(){ CommonItem(
// _showDatePicker(); leftTitel: TranslationLoader.lanKeys!.effectiveTime!.tr,
}), rightTitle: "2020.06.20 11:49",
CommonItem(leftTitel:TranslationLoader.lanKeys!.failureTime!.tr, rightTitle:"2020.06.20 11:49", isHaveDirection: true, action:(){ isHaveLine: true,
// _showDatePicker(); isHaveDirection: true,
}), action: () {
// _showDatePicker();
}),
CommonItem(
leftTitel: TranslationLoader.lanKeys!.failureTime!.tr,
rightTitle: "2020.06.20 11:49",
isHaveDirection: true,
action: () {
// _showDatePicker();
}),
Container(height: 10.h), Container(height: 10.h),
], ],
); );
} }
// //
Widget keyRealNameWidget(){ Widget keyRealNameWidget() {
return Column( return Column(
children: [ children: [
CommonItem(leftTitel:TranslationLoader.lanKeys!.realNameAuthentication!.tr, rightTitle:"", isHaveRightWidget: true, rightWidget: Container(width: 80.w, height: 50.h,child: _switch()), action:(){ CommonItem(
leftTitel: TranslationLoader.lanKeys!.realNameAuthentication!.tr,
}), rightTitle: "",
isHaveRightWidget: true,
rightWidget: Container(width: 80.w, height: 50.h, child: _switch()),
action: () {}),
Container(height: 10.h), Container(height: 10.h),
], ],
); );
} }
Widget keyBottomWidget(String tipStr){ Widget keyBottomWidget(String tipStr) {
return Column( return Column(
children: [ children: [
Container( Container(
@ -107,24 +130,37 @@ class _AuthorizedAdminPageState extends State<AuthorizedAdminPage> {
child: Row( child: Row(
// crossAxisAlignment: CrossAxisAlignment.start, // crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Expanded(child: Text(tipStr, textAlign: TextAlign.start,)), Expanded(
child: Text(
tipStr,
textAlign: TextAlign.start,
)),
], ],
), ),
), ),
SubmitBtn(btnName: TranslationLoader.lanKeys!.sender!.tr, borderRadius: 20.w, margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w), padding: EdgeInsets.only(top: 25.w, bottom: 25.w), SubmitBtn(
onClick: (){ btnName: TranslationLoader.lanKeys!.sender!.tr,
borderRadius: 20.w,
} margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w),
), padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
onClick: () {}),
Container( Container(
padding: EdgeInsets.only(right:30.w), padding: EdgeInsets.only(right: 30.w),
// color: Colors.red, // color: Colors.red,
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.end, mainAxisAlignment: MainAxisAlignment.end,
children: [ children: [
TextButton(onPressed: (){ TextButton(
Navigator.pushNamed(context, Routers.volumeAuthorizationLockManagePage); onPressed: () {
}, child: Text(TranslationLoader.lanKeys!.volumeAuthorizationLock!.tr, style: TextStyle(color: AppColors.mainColor, fontWeight: FontWeight.w500),)), Navigator.pushNamed(
context, Routers.volumeAuthorizationLockManagePage);
},
child: Text(
TranslationLoader.lanKeys!.volumeAuthorizationLock!.tr,
style: TextStyle(
color: AppColors.mainColor,
fontWeight: FontWeight.w500),
)),
], ],
), ),
), ),
@ -133,7 +169,7 @@ class _AuthorizedAdminPageState extends State<AuthorizedAdminPage> {
} }
// //
Widget sendElectronicKeySucceed(){ Widget sendElectronicKeySucceed() {
return Column( return Column(
children: [ children: [
Container( Container(
@ -142,37 +178,72 @@ class _AuthorizedAdminPageState extends State<AuthorizedAdminPage> {
color: Colors.white, color: Colors.white,
child: Column( child: Column(
children: [ children: [
SizedBox(height: 30.h,), SizedBox(
Image.asset('images/main/icon_main_addLock.png', width: 150.w, height: 150.w, color: AppColors.mainColor,), height: 30.h,
SizedBox(height: 20.h,), ),
Image.asset(
'images/main/icon_main_addLock.png',
width: 150.w,
height: 150.w,
color: AppColors.mainColor,
),
SizedBox(
height: 20.h,
),
Row( Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Text("发送成功",style: TextStyle(fontSize: 32.sp, color: Colors.black, fontWeight: FontWeight.w500),), Text(
"发送成功",
style: TextStyle(
fontSize: 32.sp,
color: Colors.black,
fontWeight: FontWeight.w500),
),
], ],
), ),
], ],
), ),
), ),
SizedBox(height: 20.h,), SizedBox(
SubmitBtn(btnName: '完成', fontSize: 28.sp, borderRadius: 20.w, margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w), padding: EdgeInsets.only(top: 25.w, bottom: 25.w), onClick: (){ height: 20.h,
),
}), SubmitBtn(
SubmitBtn(btnName: '邮件通知', fontSize: 28.sp, borderRadius: 20.w, margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w), padding: EdgeInsets.only(top: 25.w, bottom: 25.w), onClick: (){ btnName: '完成',
Navigator.pushNamed(context, Routers.sendEmailNotificationPage); fontSize: 28.sp,
}), borderRadius: 20.w,
SubmitBtn(btnName: '微信通知', fontSize: 28.sp, borderRadius: 20.w, margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w), padding: EdgeInsets.only(top: 25.w, bottom: 25.w), onClick: (){ margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w),
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
}), onClick: () {}),
SubmitBtn(btnName: '标记为已入住', fontSize: 28.sp, borderRadius: 20.w, margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w), padding: EdgeInsets.only(top: 25.w, bottom: 25.w), onClick: (){ SubmitBtn(
btnName: '邮件通知',
}), fontSize: 28.sp,
borderRadius: 20.w,
margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w),
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
onClick: () {
Navigator.pushNamed(context, Routers.sendEmailNotificationPage);
}),
SubmitBtn(
btnName: '微信通知',
fontSize: 28.sp,
borderRadius: 20.w,
margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w),
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
onClick: () {}),
SubmitBtn(
btnName: '标记为已入住',
fontSize: 28.sp,
borderRadius: 20.w,
margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w),
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
onClick: () {}),
], ],
); );
} }
// //
Widget getTFWidget(bool isHaveBtn, String tfStr){ Widget getTFWidget(bool isHaveBtn, String tfStr) {
return Container( return Container(
height: 50.h, height: 50.h,
width: 500.w, width: 500.w,
@ -184,7 +255,7 @@ class _AuthorizedAdminPageState extends State<AuthorizedAdminPage> {
maxLines: 1, maxLines: 1,
// controller: _controller, // controller: _controller,
autofocus: false, autofocus: false,
textAlign:TextAlign.end, textAlign: TextAlign.end,
decoration: InputDecoration( decoration: InputDecoration(
// //
contentPadding: const EdgeInsets.only(top: 12.0, bottom: 8.0), contentPadding: const EdgeInsets.only(top: 12.0, bottom: 8.0),
@ -194,34 +265,38 @@ class _AuthorizedAdminPageState extends State<AuthorizedAdminPage> {
), ),
), ),
), ),
SizedBox(width: 10.w,), SizedBox(
isHaveBtn?Container( width: 10.w,
width: 50.w, ),
height: 50.w, isHaveBtn
decoration: const BoxDecoration( ? Container(
color: Colors.white, width: 50.w,
image: DecorationImage( height: 50.w,
image: AssetImage('images/icon_lock.png'), decoration: const BoxDecoration(
fit: BoxFit.fill color: Colors.white,
), image: DecorationImage(
), image: AssetImage('images/icon_lock.png'),
alignment: Alignment.center, fit: BoxFit.fill),
child: InkWell( ),
onTap: () async { alignment: Alignment.center,
Contact? contact = await _contactPicker.selectContact(); child: InkWell(
setState(() { onTap: () async {
_contact = contact!; Contact? contact = await _contactPicker.selectContact();
// print("object111111111111 ${_contact.fullName} ${_contact.phoneNumbers}"); setState(() {
}); _contact = contact!;
}, // print("object111111111111 ${_contact.fullName} ${_contact.phoneNumbers}");
), });
):Container() },
),
)
: Container()
], ],
), ),
); );
} }
Switch _switch(){ CupertinoSwitch _switch() {
/*
return Switch( return Switch(
value: false, value: false,
onChanged: (value){ onChanged: (value){
@ -231,6 +306,18 @@ class _AuthorizedAdminPageState extends State<AuthorizedAdminPage> {
}); });
} }
); );
*/
bool _isOn = false;
return CupertinoSwitch(
activeColor: CupertinoColors.activeBlue,
trackColor: CupertinoColors.systemGrey5,
thumbColor: CupertinoColors.white,
value: _isOn,
onChanged: (value) {
setState(() {
_isOn = value;
});
},
);
} }
} }

View File

@ -20,8 +20,11 @@ class _UnlockQRCodePageState extends State<UnlockQRCodePage> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
backgroundColor: AppColors.mainBackgroundColor, backgroundColor: AppColors.mainBackgroundColor,
appBar: TitleAppBar(barTitle: TranslationLoader.lanKeys!.burglarAlarm!.tr, haveBack:true, backgroundColor: AppColors.mainColor), appBar: TitleAppBar(
body:Column( barTitle: TranslationLoader.lanKeys!.burglarAlarm!.tr,
haveBack: true,
backgroundColor: AppColors.mainColor),
body: Column(
children: [ children: [
Container( Container(
padding: EdgeInsets.all(25.w), padding: EdgeInsets.all(25.w),
@ -30,11 +33,11 @@ class _UnlockQRCodePageState extends State<UnlockQRCodePage> {
color: Colors.white, color: Colors.white,
borderRadius: BorderRadius.all(Radius.circular(10.h)), borderRadius: BorderRadius.all(Radius.circular(10.h)),
), ),
child: Text("拥有电子钥匙的人,通过微信扫一扫这个二维码,即可开门。每把锁的二维码都不相同,你可以将其打印出来贴在对应的锁旁边") child: Text(
), "拥有电子钥匙的人,通过微信扫一扫这个二维码,即可开门。每把锁的二维码都不相同,你可以将其打印出来贴在对应的锁旁边")),
Container( Container(
width: 1.sw, width: 1.sw,
padding: EdgeInsets.only(top:50.w), padding: EdgeInsets.only(top: 50.w),
margin: EdgeInsets.only(left: 25.w, right: 25.w), margin: EdgeInsets.only(left: 25.w, right: 25.w),
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.white, color: Colors.white,
@ -47,24 +50,25 @@ class _UnlockQRCodePageState extends State<UnlockQRCodePage> {
// data:'二维码', // data:'二维码',
// size:300, // size:300,
// ), // ),
//by Daisy ##warning
QrImage(data: 'www.baidu.com', size: 300.w), QrImage(data: 'www.baidu.com', size: 300.w),
SizedBox(height: 50.w,), SizedBox(
SubmitBtn(btnName: TranslationLoader.lanKeys!.share!.tr, height: 50.w,
),
SubmitBtn(
btnName: TranslationLoader.lanKeys!.share!.tr,
borderRadius: 20.w, borderRadius: 20.w,
fontSize: 32.sp, fontSize: 32.sp,
width: 250.w, width: 250.w,
// margin: EdgeInsets.only(left: 03.w, right: 30.w, top: 20.w), // margin: EdgeInsets.only(left: 03.w, right: 30.w, top: 20.w),
padding: EdgeInsets.only(top: 20.w, bottom: 20.w), padding: EdgeInsets.only(top: 20.w, bottom: 20.w),
onClick: () { onClick: () {}),
SizedBox(
} height: 60.w,
), )
SizedBox(height: 60.w,)
], ],
) )),
),
], ],
) ));
);
} }
} }

View File

@ -0,0 +1,152 @@
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import '../../../../appRouters.dart';
import '../../../../app_settings/app_colors.dart';
import '../../../../tools/titleAppBar.dart';
import '../../../../translations/trans_lib.dart';
class AuthorizedAdministratorListPage extends StatefulWidget {
const AuthorizedAdministratorListPage({Key? key}) : super(key: key);
@override
State<AuthorizedAdministratorListPage> createState() =>
_AuthorizedAdministratorListPageState();
}
class _AuthorizedAdministratorListPageState
extends State<AuthorizedAdministratorListPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: AppColors.mainBackgroundColor,
appBar: TitleAppBar(
barTitle: TranslationLoader.lanKeys!.authorizedAdmin!.tr,
haveBack: true,
backgroundColor: AppColors.mainColor,
actionsList: [
IconButton(
icon: const Icon(Icons.add),
onPressed: () {
//
Navigator.pushNamed(context, Routers.authorizedAdminManagePage);
},
),
],
),
body: Column(
children: [
_searchWidget(),
Expanded(child: _buildMainUI()),
],
),
);
}
Widget _searchWidget() {
return Container(
height: 80.h,
margin: EdgeInsets.only(top: 20.w, left: 20.w, right: 20.w),
decoration: BoxDecoration(
color: Colors.white, borderRadius: BorderRadius.circular(5)),
child: TextField(
//
maxLines: 1,
// controller: _controller,
autofocus: false,
decoration: InputDecoration(
//
contentPadding: const EdgeInsets.only(
top: 12.0, left: -19.0, right: -15.0, bottom: 8.0),
hintText: TranslationLoader.lanKeys!.pleaseEnter!.tr,
//线
border: InputBorder.none,
//
icon: Padding(
padding: EdgeInsets.only(
top: 30.w, bottom: 20.w, right: 20.w, left: 20.w),
child: Image.asset(
'images/main/icon_main_search.png',
width: 40.w,
height: 40.w,
),
),
),
),
);
}
Widget _buildMainUI() {
return ListView.builder(
itemCount: 10,
itemBuilder: (c, index) {
return _electronicKeyItem('images/icon_lock.png', "张三",
"2023.6.21 11.15", "2023.6.21 11.15", () {
Navigator.pushNamed(context, Routers.authorizedAdminDetailPage);
});
});
}
Widget _electronicKeyItem(String lockTypeIcon, String lockTypeTitle,
String beginTime, String endTime, Function() action) {
return GestureDetector(
onTap: action,
child: Container(
height: 100.h,
margin: EdgeInsets.only(left: 20.w, right: 20.w, top: 20.w),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(10.w),
),
child: Row(
children: [
SizedBox(
width: 30.w,
),
Image.asset(
lockTypeIcon,
width: 50.w,
height: 50.w,
),
SizedBox(
width: 30.w,
),
Expanded(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(
lockTypeTitle,
style: TextStyle(
fontSize: 32.sp, fontWeight: FontWeight.w500),
),
],
),
SizedBox(height: 5.h),
Container(
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(
"2023.6.21 11.15 永久",
style: TextStyle(
fontSize: 28.sp, fontWeight: FontWeight.w500),
),
],
),
),
SizedBox(width: 20.h),
],
),
),
SizedBox(width: 20.h),
],
),
),
);
}
}

View File

@ -0,0 +1,163 @@
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import '../../../../appRouters.dart';
import '../../../../app_settings/app_colors.dart';
import '../../../../tools/titleAppBar.dart';
import '../../../../translations/trans_lib.dart';
import '../../../tools/submitBtn.dart';
class LockUserManageListListPage extends StatefulWidget {
const LockUserManageListListPage({Key? key}) : super(key: key);
@override
State<LockUserManageListListPage> createState() =>
_LockUserManageListListPageState();
}
class _LockUserManageListListPageState
extends State<LockUserManageListListPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: AppColors.mainBackgroundColor,
appBar: TitleAppBar(
barTitle: TranslationLoader.lanKeys!.authorizedAdmin!.tr,
haveBack: true,
backgroundColor: AppColors.mainColor,
actionsList: [
TextButton(
child: Text(
TranslationLoader.lanKeys!.aboutToExpire!.tr,
style: const TextStyle(color: Colors.white),
),
onPressed: () {},
),
],
),
body: Column(
children: [
_searchWidget(),
Expanded(child: _buildMainUI()),
SubmitBtn(
btnName: TranslationLoader.lanKeys!.sendGroupKey!.tr,
borderRadius: 20.w,
margin: EdgeInsets.only(
left: 30.w, right: 30.w, top: 30.w, bottom: 30.w),
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
onClick: () {
Navigator.pushNamed(
context, Routers.massSendElectronicKeyManagePage);
}),
],
),
);
}
Widget _searchWidget() {
return Container(
height: 80.h,
margin: EdgeInsets.only(top: 20.w, left: 20.w, right: 20.w),
decoration: BoxDecoration(
color: Colors.white, borderRadius: BorderRadius.circular(5)),
child: TextField(
//
maxLines: 1,
// controller: _controller,
autofocus: false,
decoration: InputDecoration(
//
contentPadding: const EdgeInsets.only(
top: 12.0, left: -19.0, right: -15.0, bottom: 8.0),
hintText: TranslationLoader.lanKeys!.pleaseEnter!.tr,
//线
border: InputBorder.none,
//
icon: Padding(
padding: EdgeInsets.only(
top: 30.w, bottom: 20.w, right: 20.w, left: 20.w),
child: Image.asset(
'images/main/icon_main_search.png',
width: 40.w,
height: 40.w,
),
),
),
),
);
}
Widget _buildMainUI() {
return ListView.builder(
itemCount: 10,
itemBuilder: (c, index) {
return _electronicKeyItem('images/icon_lock.png', "张三",
"2023.6.21 11.15", "2023.6.21 11.15", () {
Navigator.pushNamed(context, Routers.authorizedAdminDetailPage);
});
});
}
Widget _electronicKeyItem(String lockTypeIcon, String lockTypeTitle,
String beginTime, String endTime, Function() action) {
return GestureDetector(
onTap: action,
child: Container(
height: 100.h,
margin: EdgeInsets.only(left: 20.w, right: 20.w, top: 20.w),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(10.w),
),
child: Row(
children: [
SizedBox(
width: 30.w,
),
Image.asset(
lockTypeIcon,
width: 50.w,
height: 50.w,
),
SizedBox(
width: 30.w,
),
Expanded(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(
lockTypeTitle,
style: TextStyle(
fontSize: 32.sp, fontWeight: FontWeight.w500),
),
],
),
SizedBox(height: 5.h),
Container(
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(
"2023.6.21 11.15 永久",
style: TextStyle(
fontSize: 28.sp, fontWeight: FontWeight.w500),
),
],
),
),
SizedBox(width: 20.h),
],
),
),
SizedBox(width: 20.h),
],
),
),
);
}
}

View File

@ -1,3 +1,4 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
@ -17,52 +18,128 @@ class MineSetPage extends StatefulWidget {
} }
class _MineSetPageState extends State<MineSetPage> { class _MineSetPageState extends State<MineSetPage> {
bool _isOn = false;
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
backgroundColor: AppColors.mainBackgroundColor, backgroundColor: AppColors.mainBackgroundColor,
appBar: TitleAppBar(barTitle: TranslationLoader.lanKeys!.moreSet!.tr, haveBack:true, backgroundColor: AppColors.mainColor), appBar: TitleAppBar(
body:Column( barTitle: TranslationLoader.lanKeys!.moreSet!.tr,
haveBack: true,
backgroundColor: AppColors.mainColor),
body: Column(
children: [ children: [
Expanded( Expanded(
child: ListView( child: ListView(
children: [ children: [
CommonItem(leftTitel:TranslationLoader.lanKeys!.prompTone!.tr, rightTitle:"", isHaveLine: true, isHaveRightWidget:true, rightWidget: Container(width: 80.w, height: 50.h,child: _switch())), CommonItem(
CommonItem(leftTitel:TranslationLoader.lanKeys!.touchUnlock!.tr, rightTitle:"", isHaveLine: true, isHaveRightWidget:true, rightWidget: Container(width: 80.w, height: 50.h,child: _switch())), leftTitel: TranslationLoader.lanKeys!.prompTone!.tr,
CommonItem(leftTitel:TranslationLoader.lanKeys!.pushNotification!.tr, rightTitle:"", isHaveRightWidget:true, rightWidget: Container(width: 80.w, height: 50.h,child: _switch())), rightTitle: "",
SizedBox(height: 10.h,), isHaveLine: true,
CommonItem(leftTitel:TranslationLoader.lanKeys!.lockUserManagement!.tr, rightTitle:"", isHaveLine: true, isHaveDirection: true, action: (){ isHaveRightWidget: true,
rightWidget: SizedBox(
}), width: 80.w, height: 50.h, child: _switch())),
CommonItem(leftTitel:TranslationLoader.lanKeys!.authorizedAdmin!.tr, rightTitle:"", isHaveLine: true, isHaveDirection: true, action: (){ CommonItem(
leftTitel: TranslationLoader.lanKeys!.touchUnlock!.tr,
}), rightTitle: "",
CommonItem(leftTitel:TranslationLoader.lanKeys!.lockGroup!.tr, rightTitle:"", isHaveLine: true, isHaveDirection: true, action: (){ isHaveLine: true,
isHaveRightWidget: true,
}), rightWidget: SizedBox(
CommonItem(leftTitel:TranslationLoader.lanKeys!.transferSmartLock!.tr, rightTitle:"", isHaveLine: true, isHaveDirection: true, action: (){ width: 80.w, height: 50.h, child: _switch())),
CommonItem(
}), leftTitel:
CommonItem(leftTitel:TranslationLoader.lanKeys!.transferGateway!.tr, rightTitle:"", isHaveDirection: true, action: (){ TranslationLoader.lanKeys!.pushNotification!.tr,
rightTitle: "",
}), isHaveRightWidget: true,
SizedBox(height: 10.h,), rightWidget: SizedBox(
CommonItem(leftTitel:TranslationLoader.lanKeys!.multiLanguage!.tr, rightTitle:"简体中文", isHaveLine: true, isHaveDirection: true, action: (){ width: 80.w, height: 50.h, child: _switch())),
Navigator.pushNamed(context, Routers.mineMultiLanguagePage); SizedBox(
}), height: 10.h,
CommonItem(leftTitel:TranslationLoader.lanKeys!.lockScreen!.tr, rightTitle:TranslationLoader.lanKeys!.opened!.tr, isHaveLine: true, isHaveDirection: true, action: (){ ),
Navigator.pushNamed(context, Routers.lockScreenPage); CommonItem(
}), leftTitel:
CommonItem(leftTitel:TranslationLoader.lanKeys!.hideInvalidUnlockPermissions!.tr, rightTitle:TranslationLoader.lanKeys!.closed!.tr, isHaveLine: true, isHaveDirection: true, action: (){ TranslationLoader.lanKeys!.lockUserManagement!.tr,
Navigator.pushNamed(context, Routers.hideInvalidUnlockPermissionsPage); rightTitle: "",
}), isHaveLine: true,
CommonItem(leftTitel:TranslationLoader.lanKeys!.appUnlockRequiresMobilePhoneAccessToTheLock!.tr, rightTitle:"", isHaveLine: true, isHaveDirection: true, action: (){ isHaveDirection: true,
Navigator.pushNamed(context, Routers.aPPUnlockNeedMobileNetworkingLockPage); action: () {
}), Navigator.pushNamed(
context, Routers.lockUserManageLisPage);
}),
CommonItem(
leftTitel: TranslationLoader.lanKeys!.authorizedAdmin!.tr,
rightTitle: "",
isHaveLine: true,
isHaveDirection: true,
action: () {
Navigator.pushNamed(
context, Routers.authorizedAdministratorListPage);
}),
CommonItem(
leftTitel: TranslationLoader.lanKeys!.lockGroup!.tr,
rightTitle: "",
isHaveLine: true,
isHaveDirection: true,
action: () {}),
CommonItem(
leftTitel:
TranslationLoader.lanKeys!.transferSmartLock!.tr,
rightTitle: "",
isHaveLine: true,
isHaveDirection: true,
action: () {}),
CommonItem(
leftTitel: TranslationLoader.lanKeys!.transferGateway!.tr,
rightTitle: "",
isHaveDirection: true,
action: () {}),
SizedBox(
height: 10.h,
),
CommonItem(
leftTitel: TranslationLoader.lanKeys!.multiLanguage!.tr,
rightTitle: "简体中文",
isHaveLine: true,
isHaveDirection: true,
action: () {
Navigator.pushNamed(
context, Routers.mineMultiLanguagePage);
}),
CommonItem(
leftTitel: TranslationLoader.lanKeys!.lockScreen!.tr,
rightTitle: TranslationLoader.lanKeys!.opened!.tr,
isHaveLine: true,
isHaveDirection: true,
action: () {
Navigator.pushNamed(context, Routers.lockScreenPage);
}),
CommonItem(
leftTitel: TranslationLoader
.lanKeys!.hideInvalidUnlockPermissions!.tr,
rightTitle: TranslationLoader.lanKeys!.closed!.tr,
isHaveLine: true,
isHaveDirection: true,
action: () {
Navigator.pushNamed(
context, Routers.hideInvalidUnlockPermissionsPage);
}),
CommonItem(
leftTitel: TranslationLoader.lanKeys!
.appUnlockRequiresMobilePhoneAccessToTheLock!.tr,
rightTitle: "",
isHaveLine: true,
isHaveDirection: true,
action: () {
Navigator.pushNamed(context,
Routers.aPPUnlockNeedMobileNetworkingLockPage);
}),
// CommonItem(leftTitel:TranslationLoader.lanKeys!.valueAddedServices!.tr, rightTitle:"", isHaveDirection: true, action: (){ // CommonItem(leftTitel:TranslationLoader.lanKeys!.valueAddedServices!.tr, rightTitle:"", isHaveDirection: true, action: (){
// //
// }), // }),
SizedBox(height: 10.h,), SizedBox(
height: 10.h,
),
// CommonItem(leftTitel:TranslationLoader.lanKeys!.about!.tr, rightTitle:"", isHaveLine: true, isHaveDirection: true, action: (){ // CommonItem(leftTitel:TranslationLoader.lanKeys!.about!.tr, rightTitle:"", isHaveLine: true, isHaveDirection: true, action: (){
// //
// }), // }),
@ -87,8 +164,7 @@ class _MineSetPageState extends State<MineSetPage> {
), ),
// keyBottomWidget() // keyBottomWidget()
], ],
) ));
);
} }
// Widget keyBottomWidget() { // Widget keyBottomWidget() {
@ -123,15 +199,17 @@ class _MineSetPageState extends State<MineSetPage> {
// ); // );
// } // }
Switch _switch(){ CupertinoSwitch _switch() {
return Switch( return CupertinoSwitch(
value: false, activeColor: CupertinoColors.activeBlue,
onChanged: (value){ trackColor: CupertinoColors.systemGrey5,
// switchValue = !switchValue; thumbColor: CupertinoColors.white,
setState(() { value: _isOn,
onChanged: (value) {
}); setState(() {
} _isOn = value;
});
},
); );
} }
} }

View File

@ -1,6 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:star_lock/app_settings/app_colors.dart';
class CommonItem extends StatelessWidget { class CommonItem extends StatelessWidget {
String? leftTitel; String? leftTitel;
@ -12,14 +12,17 @@ class CommonItem extends StatelessWidget {
Function()? action; Function()? action;
double? allHeight; double? allHeight;
CommonItem({Key? key, CommonItem(
required this.leftTitel, {Key? key,
this.rightTitle, required this.leftTitel,
this.allHeight = 45, this.rightTitle,
this.isHaveDirection = false, this.allHeight = 45,
this.isHaveLine = false, this.isHaveDirection = false,
this.isHaveRightWidget = false, this.isHaveLine = false,
this.rightWidget, this.action}) : super(key: key); this.isHaveRightWidget = false,
this.rightWidget,
this.action})
: super(key: key);
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
@ -29,27 +32,53 @@ class CommonItem extends StatelessWidget {
// mainAxisAlignment: MainAxisAlignment.center, // mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Container( Container(
height: allHeight??70.h, height: allHeight ?? 70.h,
color: Colors.white, color: Colors.white,
padding: EdgeInsets.only(left:20.w, right: 10.w),// , top: 20.w, bottom: 20.w padding: EdgeInsets.only(
left: 20.w, right: 10.w), // , top: 20.w, bottom: 20.w
child: Row( child: Row(
children: [ children: [
SizedBox(width:20.w), SizedBox(width: 20.w),
Expanded(child: Text(leftTitel!, style: TextStyle(fontSize: 28.sp, fontWeight: FontWeight.w500))), Expanded(
SizedBox(width:20.w), child: Text(leftTitel!,
style: TextStyle(
fontSize: 28.sp, fontWeight: FontWeight.w500))),
SizedBox(width: 20.w),
Row( Row(
mainAxisAlignment: MainAxisAlignment.end, mainAxisAlignment: MainAxisAlignment.end,
children: [ children: [
isHaveRightWidget!?rightWidget!:Text(rightTitle!, textAlign: TextAlign.end, style: TextStyle(fontSize: 28.sp, fontWeight: FontWeight.w500),) isHaveRightWidget!
? rightWidget!
: Text(
rightTitle!,
textAlign: TextAlign.end,
style: TextStyle(
fontSize: 28.sp, fontWeight: FontWeight.w500),
)
], ],
), ),
SizedBox(width:5.w), SizedBox(width: 5.w),
isHaveDirection!?Image.asset('images/icon_right.png', width: 50.w, height: 50.w,):SizedBox(width:10.w), isHaveDirection!
? Image.asset(
'images/icon_right.png',
width: 50.w,
height: 50.w,
)
: SizedBox(width: 10.w),
// SizedBox(width:10.w), // SizedBox(width:10.w),
], ],
), ),
), ),
isHaveLine!?Container(height: 0.5.h, color: Colors.grey,):Container() // isHaveLine!?Container(height: 0.5.h, color: Colors.grey,):Container()
//by DaisyWu
isHaveLine!
? Divider(
color: AppColors.greyLineColor,
indent: 20.w,
endIndent: 20.w,
height: 1,
)
: Container()
], ],
), ),
); );

View File

@ -12,7 +12,6 @@ class LanKeyEntity {
this.number, this.number,
this.additive, this.additive,
this.addTime, this.addTime,
this.reset, this.reset,
this.sendKey, this.sendKey,
this.timeLimit, this.timeLimit,
@ -41,7 +40,6 @@ class LanKeyEntity {
this.fridayShort, this.fridayShort,
this.saturdayShort, this.saturdayShort,
this.sundayShort, this.sundayShort,
this.realNameAuthentication, this.realNameAuthentication,
this.sendKeyBottomTip, this.sendKeyBottomTip,
this.send, this.send,
@ -85,7 +83,6 @@ class LanKeyEntity {
this.earlyArrivalList, this.earlyArrivalList,
this.lateList, this.lateList,
this.hardWorkingList, this.hardWorkingList,
this.basicInformation, this.basicInformation,
this.wirelessKeyboard, this.wirelessKeyboard,
this.doorMagnetic, this.doorMagnetic,
@ -184,7 +181,6 @@ class LanKeyEntity {
this.beLate, this.beLate,
this.leaveEarly, this.leaveEarly,
this.noCardPunched, this.noCardPunched,
this.lanEnglish, this.lanEnglish,
this.lanChinese, this.lanChinese,
this.multilingual, this.multilingual,
@ -194,7 +190,6 @@ class LanKeyEntity {
this.supportStaff, this.supportStaff,
this.set, this.set,
this.moreServices, this.moreServices,
this.moreSet, this.moreSet,
this.prompTone, this.prompTone,
this.touchUnlock, this.touchUnlock,
@ -204,7 +199,6 @@ class LanKeyEntity {
this.lockGroup, this.lockGroup,
this.transferSmartLock, this.transferSmartLock,
this.transferGateway, this.transferGateway,
this.multiLanguage, this.multiLanguage,
this.lockScreen, this.lockScreen,
this.closed, this.closed,
@ -238,7 +232,7 @@ class LanKeyEntity {
this.problemTwo, this.problemTwo,
this.problemThree, this.problemThree,
this.pleaseEnterYourAnswer, this.pleaseEnterYourAnswer,
this.aboutToExpire,
this.designation, this.designation,
this.state, this.state,
this.wifiName, this.wifiName,
@ -268,7 +262,6 @@ class LanKeyEntity {
this.preferredDNS, this.preferredDNS,
this.alternativeDNS, this.alternativeDNS,
this.noStaticIPIsUsed, this.noStaticIPIsUsed,
this.allLock, this.allLock,
this.searchAllLockType, this.searchAllLockType,
this.doorLock, this.doorLock,
@ -284,7 +277,6 @@ class LanKeyEntity {
this.nearbyLock, this.nearbyLock,
this.addSuccessfullyPleaseRename, this.addSuccessfullyPleaseRename,
this.whenAddingLockThePhoneMustBeNextToTheLock, this.whenAddingLockThePhoneMustBeNextToTheLock,
this.login, this.login,
this.register, this.register,
this.forgetPassword, this.forgetPassword,
@ -295,20 +287,17 @@ class LanKeyEntity {
this.email, this.email,
this.countryAndRegion, this.countryAndRegion,
this.selet, this.selet,
this.businessCooperation, this.businessCooperation,
this.officialWebsite, this.officialWebsite,
this.computerWebVersion, this.computerWebVersion,
this.hotelSystem, this.hotelSystem,
this.manualWebVersion, this.manualWebVersion,
this.introduce, this.introduce,
this.note, this.note,
this.mail, this.mail,
this.advancedFunction, this.advancedFunction,
this.pushMessage, this.pushMessage,
this.recordsRetention, this.recordsRetention,
this.smsBuyTip, this.smsBuyTip,
this.emailBuyTip, this.emailBuyTip,
this.currentRemainingQuantity, this.currentRemainingQuantity,
@ -316,14 +305,12 @@ class LanKeyEntity {
this.customSMSTemplate, this.customSMSTemplate,
this.customMailTemplate, this.customMailTemplate,
this.record, this.record,
this.buyRealNameTip, this.buyRealNameTip,
this.buyRealNameSeletYouWantBuyTip, this.buyRealNameSeletYouWantBuyTip,
this.forTheFirstTime, this.forTheFirstTime,
this.onceDay, this.onceDay,
this.weekOnce, this.weekOnce,
this.monthOnce, this.monthOnce,
this.currentState, this.currentState,
this.onTrial, this.onTrial,
this.haveNotOpened, this.haveNotOpened,
@ -335,7 +322,6 @@ class LanKeyEntity {
this.tipsForBuyingAdvancedFeatures, this.tipsForBuyingAdvancedFeatures,
this.freeTrial, this.freeTrial,
this.openNow, this.openNow,
this.buySMS, this.buySMS,
this.buyMail, this.buyMail,
this.buyRealNameAuthenticationTimes, this.buyRealNameAuthenticationTimes,
@ -344,7 +330,6 @@ class LanKeyEntity {
this.modeOfPayment, this.modeOfPayment,
this.alipay, this.alipay,
this.goToPay, this.goToPay,
this.customTemplatesTip, this.customTemplatesTip,
this.haveOpened, this.haveOpened,
this.unHaveOpenedTip1, this.unHaveOpenedTip1,
@ -367,12 +352,10 @@ class LanKeyEntity {
this.and, this.and,
this.willBeReplacedWithTheActualValue, this.willBeReplacedWithTheActualValue,
this.downloadLink, this.downloadLink,
this.lockScreenTip, this.lockScreenTip,
this.hideInvalidUnlockPermissionsTip, this.hideInvalidUnlockPermissionsTip,
this.appUnlockRequiresMobilePhoneAccessToTheLockTip, this.appUnlockRequiresMobilePhoneAccessToTheLockTip,
this.checkAll, this.checkAll,
}); });
LanKeyEntity.fromJson(dynamic json) { LanKeyEntity.fromJson(dynamic json) {
@ -520,8 +503,10 @@ class LanKeyEntity {
whenScreenFlashesClickNext = json['whenScreenFlashesClickNext']; whenScreenFlashesClickNext = json['whenScreenFlashesClickNext'];
theScreenNeverFlickered = json['theScreenNeverFlickered']; theScreenNeverFlickered = json['theScreenNeverFlickered'];
enterNumberOrPressSet = json['enterNumberOrPressSet']; enterNumberOrPressSet = json['enterNumberOrPressSet'];
theLocationOfTheSetKeyWillBeDifferent = json['theLocationOfTheSetKeyWillBeDifferent']; theLocationOfTheSetKeyWillBeDifferent =
pressAndHoldTheResetButtonTwoSeconds = json['pressAndHoldTheResetButtonTwoSeconds']; json['theLocationOfTheSetKeyWillBeDifferent'];
pressAndHoldTheResetButtonTwoSeconds =
json['pressAndHoldTheResetButtonTwoSeconds'];
nearbyEquipment = json['nearbyEquipment']; nearbyEquipment = json['nearbyEquipment'];
noData = json['noData']; noData = json['noData'];
doorMagneticListTopTip = json['doorMagneticListTopTip']; doorMagneticListTopTip = json['doorMagneticListTopTip'];
@ -586,12 +571,14 @@ class LanKeyEntity {
closed = json['closed']; closed = json['closed'];
opened = json['opened']; opened = json['opened'];
hideInvalidUnlockPermissions = json['hideInvalidUnlockPermissions']; hideInvalidUnlockPermissions = json['hideInvalidUnlockPermissions'];
appUnlockRequiresMobilePhoneAccessToTheLock = json['appUnlockRequiresMobilePhoneAccessToTheLock']; appUnlockRequiresMobilePhoneAccessToTheLock =
json['appUnlockRequiresMobilePhoneAccessToTheLock'];
valueAddedServices = json['valueAddedServices']; valueAddedServices = json['valueAddedServices'];
about = json['about']; about = json['about'];
userAgreement = json['userAgreement']; userAgreement = json['userAgreement'];
privacyPolicy = json['privacyPolicy']; privacyPolicy = json['privacyPolicy'];
personalInformationCollectionList = json['personalInformationCollectionList']; personalInformationCollectionList =
json['personalInformationCollectionList'];
applicationPermissionDescription = json['applicationPermissionDescription']; applicationPermissionDescription = json['applicationPermissionDescription'];
thirdPartyInformationSharingList = json['thirdPartyInformationSharingList']; thirdPartyInformationSharingList = json['thirdPartyInformationSharingList'];
logout = json['logout']; logout = json['logout'];
@ -614,6 +601,7 @@ class LanKeyEntity {
problemTwo = json['problemTwo']; problemTwo = json['problemTwo'];
problemThree = json['problemThree']; problemThree = json['problemThree'];
pleaseEnterYourAnswer = json['pleaseEnterYourAnswer']; pleaseEnterYourAnswer = json['pleaseEnterYourAnswer'];
aboutToExpire = json['aboutToExpire'];
designation = json['designation']; designation = json['designation'];
state = json['state']; state = json['state'];
@ -642,12 +630,12 @@ class LanKeyEntity {
ipAddress = json['ipAddress']; ipAddress = json['ipAddress'];
subnetMask = json['subnetMask']; subnetMask = json['subnetMask'];
defaultGateway = json['defaultGateway']; defaultGateway = json['defaultGateway'];
automaticallyGetTheDNSServerAddress = json['automaticallyGetTheDNSServerAddress']; automaticallyGetTheDNSServerAddress =
json['automaticallyGetTheDNSServerAddress'];
preferredDNS = json['preferredDNS']; preferredDNS = json['preferredDNS'];
alternativeDNS = json['alternativeDNS']; alternativeDNS = json['alternativeDNS'];
noStaticIPIsUsed = json['noStaticIPIsUsed']; noStaticIPIsUsed = json['noStaticIPIsUsed'];
allLock = json['allLock']; allLock = json['allLock'];
searchAllLockType = json['searchAllLockType']; searchAllLockType = json['searchAllLockType'];
doorLock = json['doorLock']; doorLock = json['doorLock'];
@ -662,7 +650,8 @@ class LanKeyEntity {
next = json['next']; next = json['next'];
nearbyLock = json['nearbyLock']; nearbyLock = json['nearbyLock'];
addSuccessfullyPleaseRename = json['addSuccessfullyPleaseRename']; addSuccessfullyPleaseRename = json['addSuccessfullyPleaseRename'];
whenAddingLockThePhoneMustBeNextToTheLock = json['whenAddingLockThePhoneMustBeNextToTheLock']; whenAddingLockThePhoneMustBeNextToTheLock =
json['whenAddingLockThePhoneMustBeNextToTheLock'];
login = json['login']; login = json['login'];
register = json['register']; register = json['register'];
@ -706,7 +695,8 @@ class LanKeyEntity {
currentState = json['currentState']; currentState = json['currentState'];
onTrial = json['onTrial']; onTrial = json['onTrial'];
haveNotOpened = json['haveNotOpened']; haveNotOpened = json['haveNotOpened'];
advancedFeaturesAndBenefitsContent = json['advancedFeaturesAndBenefitsContent']; advancedFeaturesAndBenefitsContent =
json['advancedFeaturesAndBenefitsContent'];
smsTemplate = json['smsTemplate']; smsTemplate = json['smsTemplate'];
emailTemplate = json['emailTemplate']; emailTemplate = json['emailTemplate'];
cardIssuingtool = json['cardIssuingtool']; cardIssuingtool = json['cardIssuingtool'];
@ -749,7 +739,8 @@ class LanKeyEntity {
lockScreenTip = json['lockScreenTip']; lockScreenTip = json['lockScreenTip'];
hideInvalidUnlockPermissionsTip = json['hideInvalidUnlockPermissionsTip']; hideInvalidUnlockPermissionsTip = json['hideInvalidUnlockPermissionsTip'];
appUnlockRequiresMobilePhoneAccessToTheLockTip = json['appUnlockRequiresMobilePhoneAccessToTheLockTip']; appUnlockRequiresMobilePhoneAccessToTheLockTip =
json['appUnlockRequiresMobilePhoneAccessToTheLockTip'];
checkAll = json['checkAll']; checkAll = json['checkAll'];
} }
String? starLock; String? starLock;
@ -990,6 +981,7 @@ class LanKeyEntity {
String? problemTwo; String? problemTwo;
String? problemThree; String? problemThree;
String? pleaseEnterYourAnswer; String? pleaseEnterYourAnswer;
String? aboutToExpire;
String? designation; String? designation;
String? state; String? state;
@ -1275,8 +1267,10 @@ class LanKeyEntity {
map['whenScreenFlashesClickNext'] = whenScreenFlashesClickNext; map['whenScreenFlashesClickNext'] = whenScreenFlashesClickNext;
map['theScreenNeverFlickered'] = theScreenNeverFlickered; map['theScreenNeverFlickered'] = theScreenNeverFlickered;
map['enterNumberOrPressSet'] = enterNumberOrPressSet; map['enterNumberOrPressSet'] = enterNumberOrPressSet;
map['theLocationOfTheSetKeyWillBeDifferent'] = theLocationOfTheSetKeyWillBeDifferent; map['theLocationOfTheSetKeyWillBeDifferent'] =
map['pressAndHoldTheResetButtonTwoSeconds'] = pressAndHoldTheResetButtonTwoSeconds; theLocationOfTheSetKeyWillBeDifferent;
map['pressAndHoldTheResetButtonTwoSeconds'] =
pressAndHoldTheResetButtonTwoSeconds;
map['nearbyEquipment'] = nearbyEquipment; map['nearbyEquipment'] = nearbyEquipment;
map['noData'] = noData; map['noData'] = noData;
map['doorMagneticListTopTip'] = doorMagneticListTopTip; map['doorMagneticListTopTip'] = doorMagneticListTopTip;
@ -1337,12 +1331,14 @@ class LanKeyEntity {
map['closed'] = closed; map['closed'] = closed;
map['opened'] = opened; map['opened'] = opened;
map['hideInvalidUnlockPermissions'] = hideInvalidUnlockPermissions; map['hideInvalidUnlockPermissions'] = hideInvalidUnlockPermissions;
map['appUnlockRequiresMobilePhoneAccessToTheLock'] = appUnlockRequiresMobilePhoneAccessToTheLock; map['appUnlockRequiresMobilePhoneAccessToTheLock'] =
appUnlockRequiresMobilePhoneAccessToTheLock;
map['valueAddedServices'] = valueAddedServices; map['valueAddedServices'] = valueAddedServices;
map['about'] = about; map['about'] = about;
map['userAgreement'] = userAgreement; map['userAgreement'] = userAgreement;
map['privacyPolicy'] = privacyPolicy; map['privacyPolicy'] = privacyPolicy;
map['personalInformationCollectionList'] = personalInformationCollectionList; map['personalInformationCollectionList'] =
personalInformationCollectionList;
map['applicationPermissionDescription'] = applicationPermissionDescription; map['applicationPermissionDescription'] = applicationPermissionDescription;
map['thirdPartyInformationSharingList'] = thirdPartyInformationSharingList; map['thirdPartyInformationSharingList'] = thirdPartyInformationSharingList;
map['logout'] = logout; map['logout'] = logout;
@ -1366,6 +1362,7 @@ class LanKeyEntity {
map['problemTwo'] = problemTwo; map['problemTwo'] = problemTwo;
map['problemThree'] = problemThree; map['problemThree'] = problemThree;
map['pleaseEnterYourAnswer'] = pleaseEnterYourAnswer; map['pleaseEnterYourAnswer'] = pleaseEnterYourAnswer;
map['aboutToExpire'] = aboutToExpire;
map['designation'] = designation; map['designation'] = designation;
map['state'] = state; map['state'] = state;
@ -1392,7 +1389,8 @@ class LanKeyEntity {
map['ipAddress'] = ipAddress; map['ipAddress'] = ipAddress;
map['subnetMask'] = subnetMask; map['subnetMask'] = subnetMask;
map['defaultGateway'] = defaultGateway; map['defaultGateway'] = defaultGateway;
map['automaticallyGetTheDNSServerAddress'] = automaticallyGetTheDNSServerAddress; map['automaticallyGetTheDNSServerAddress'] =
automaticallyGetTheDNSServerAddress;
map['preferredDNS'] = preferredDNS; map['preferredDNS'] = preferredDNS;
map['alternativeDNS'] = alternativeDNS; map['alternativeDNS'] = alternativeDNS;
map['noStaticIPIsUsed'] = noStaticIPIsUsed; map['noStaticIPIsUsed'] = noStaticIPIsUsed;
@ -1411,7 +1409,8 @@ class LanKeyEntity {
map['next'] = next; map['next'] = next;
map['nearbyLock'] = nearbyLock; map['nearbyLock'] = nearbyLock;
map['addSuccessfullyPleaseRename'] = addSuccessfullyPleaseRename; map['addSuccessfullyPleaseRename'] = addSuccessfullyPleaseRename;
map['whenAddingLockThePhoneMustBeNextToTheLock'] = whenAddingLockThePhoneMustBeNextToTheLock; map['whenAddingLockThePhoneMustBeNextToTheLock'] =
whenAddingLockThePhoneMustBeNextToTheLock;
map['login'] = login; map['login'] = login;
map['register'] = register; map['register'] = register;
@ -1455,7 +1454,8 @@ class LanKeyEntity {
map['currentState'] = currentState; map['currentState'] = currentState;
map['onTrial'] = onTrial; map['onTrial'] = onTrial;
map['haveNotOpened'] = haveNotOpened; map['haveNotOpened'] = haveNotOpened;
map['advancedFeaturesAndBenefitsContent'] = advancedFeaturesAndBenefitsContent; map['advancedFeaturesAndBenefitsContent'] =
advancedFeaturesAndBenefitsContent;
map['smsTemplate'] = smsTemplate; map['smsTemplate'] = smsTemplate;
map['emailTemplate'] = emailTemplate; map['emailTemplate'] = emailTemplate;
map['cardIssuingtool'] = cardIssuingtool; map['cardIssuingtool'] = cardIssuingtool;
@ -1498,9 +1498,10 @@ class LanKeyEntity {
map['lockScreenTip'] = lockScreenTip; map['lockScreenTip'] = lockScreenTip;
map['hideInvalidUnlockPermissionsTip'] = hideInvalidUnlockPermissionsTip; map['hideInvalidUnlockPermissionsTip'] = hideInvalidUnlockPermissionsTip;
map['appUnlockRequiresMobilePhoneAccessToTheLockTip'] = appUnlockRequiresMobilePhoneAccessToTheLockTip; map['appUnlockRequiresMobilePhoneAccessToTheLockTip'] =
appUnlockRequiresMobilePhoneAccessToTheLockTip;
map['checkAll'] = checkAll; map['checkAll'] = checkAll;
return map; return map;
} }
} }