74 lines
2.5 KiB
Dart
74 lines
2.5 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 HideInvalidUnlockPermissionsPage extends StatefulWidget {
|
|
const HideInvalidUnlockPermissionsPage({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
State<HideInvalidUnlockPermissionsPage> createState() =>
|
|
_HideInvalidUnlockPermissionsPageState();
|
|
}
|
|
|
|
class _HideInvalidUnlockPermissionsPageState
|
|
extends State<HideInvalidUnlockPermissionsPage> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
backgroundColor: AppColors.mainBackgroundColor,
|
|
appBar: TitleAppBar(
|
|
barTitle:
|
|
TranslationLoader.lanKeys!.hideInvalidUnlockPermissions!.tr,
|
|
haveBack: true,
|
|
backgroundColor: AppColors.mainColor),
|
|
body: Container(
|
|
padding: EdgeInsets.all(30.w),
|
|
child: Column(
|
|
children: [
|
|
Row(
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
children: [
|
|
Expanded(
|
|
child: Text(
|
|
TranslationLoader
|
|
.lanKeys!.hideInvalidUnlockPermissionsTip!.tr,
|
|
style: TextStyle(
|
|
color: AppColors.darkGrayTextColor, fontSize: 22.sp),
|
|
)),
|
|
],
|
|
),
|
|
SizedBox(
|
|
height: 20.h,
|
|
),
|
|
Row(
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
children: [
|
|
Expanded(
|
|
child: Text(
|
|
"${TranslationLoader.lanKeys!.currentMode!.tr} : ${TranslationLoader.lanKeys!.opened!.tr}",
|
|
style:
|
|
TextStyle(fontWeight: FontWeight.w600, fontSize: 22.sp),
|
|
)),
|
|
],
|
|
),
|
|
SizedBox(
|
|
height: 40.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: () {}),
|
|
],
|
|
),
|
|
));
|
|
}
|
|
}
|