Daisy ad0d4ba38e 1,新增部分图片
2,更新考勤模块UI
3,更新电子钥匙模块UI
4,更新密码模块UI
5,更新卡、指纹、遥控模块UI
6,更新授权管理员模块UI
7,更新锁设置模块UI
9,新增拥有的锁界面布局
2023-07-28 15:37:33 +08:00

82 lines
2.8 KiB
Dart

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import '../../../../app_settings/app_colors.dart';
import '../../../../tools/submitBtn.dart';
import '../../../../tools/titleAppBar.dart';
import '../../../../translations/trans_lib.dart';
class ResetButtonPage extends StatefulWidget {
const ResetButtonPage({Key? key}) : super(key: key);
@override
State<ResetButtonPage> createState() => _ResetButtonPageState();
}
class _ResetButtonPageState extends State<ResetButtonPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
appBar: TitleAppBar(
barTitle: TranslationLoader.lanKeys!.resetButton!.tr,
haveBack: true,
backgroundColor: AppColors.mainColor),
body: Container(
padding: EdgeInsets.all(30.w),
child: Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Expanded(
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
TranslationLoader.lanKeys!.resetButtonTip1!.tr,
style: TextStyle(fontSize: 20.sp),
),
SizedBox(
height: 10.h,
),
Text(
TranslationLoader.lanKeys!.resetButtonTip2!.tr,
style: TextStyle(fontSize: 20.sp),
)
],
)),
],
),
SizedBox(
height: 30.h,
),
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Expanded(
child: Text(
"${TranslationLoader.lanKeys!.currentMode!.tr} : ${TranslationLoader.lanKeys!.opened!.tr}",
style:
TextStyle(fontWeight: FontWeight.w600, fontSize: 20.sp),
)),
],
),
SizedBox(
height: 30.h,
),
SubmitBtn(
btnName: TranslationLoader.lanKeys!.closed!.tr,
borderRadius: 20.w,
fontSize: 32.sp,
// margin: EdgeInsets.only(left: 03.w, right: 30.w, top: 20.w),
padding: EdgeInsets.only(top: 20.w, bottom: 20.w),
onClick: () {}),
],
),
));
}
}