app-starlock/star_lock/lib/mine/about/about_page.dart

126 lines
3.6 KiB
Dart
Raw Normal View History

2023-07-18 18:10:57 +08:00
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
2023-07-18 18:10:57 +08:00
import 'package:get/get.dart';
import '../../app_settings/app_colors.dart';
import '../../tools/commonItem.dart';
2023-07-18 18:10:57 +08:00
import '../../tools/titleAppBar.dart';
import '../../translations/trans_lib.dart';
class AbountPage extends StatefulWidget {
const AbountPage({Key? key}) : super(key: key);
@override
State<AbountPage> createState() => _AbountPageState();
}
class _AbountPageState extends State<AbountPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: AppColors.mainBackgroundColor,
appBar: TitleAppBar(
barTitle: TranslationLoader.lanKeys!.about!.tr,
haveBack: true,
backgroundColor: AppColors.mainColor),
2023-07-18 18:10:57 +08:00
body: Column(
crossAxisAlignment: CrossAxisAlignment.center,
2023-07-18 18:10:57 +08:00
children: [
SizedBox(
height: 150.h,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Image.asset(
"images/icon_main_1024.png",
2023-07-28 17:14:11 +08:00
width: 160.w,
height: 160.w,
),
],
),
SizedBox(
2023-07-28 17:14:11 +08:00
height: 20.h,
),
Text(
"星锁 1.0.0",
style: TextStyle(fontSize: 24.sp, color: AppColors.blackColor),
),
SizedBox(
2023-07-28 17:14:11 +08:00
height: 60.h,
),
CommonItem(
leftTitel: TranslationLoader.lanKeys!.introduce!.tr,
rightTitle: "",
isHaveLine: false,
isHaveDirection: true,
action: () {}),
Divider(
height: 1,
color: AppColors.greyLineColor,
indent: 20.w,
endIndent: 20.w,
),
CommonItem(
leftTitel: TranslationLoader.lanKeys!.userAgreement!.tr,
rightTitle: "",
isHaveLine: false,
isHaveDirection: true,
action: () {}),
Divider(
height: 1,
color: AppColors.greyLineColor,
indent: 20.w,
endIndent: 20.w,
),
CommonItem(
leftTitel: TranslationLoader.lanKeys!.privacyPolicy!.tr,
rightTitle: "",
isHaveLine: false,
isHaveDirection: true,
action: () {}),
Divider(
height: 1,
color: AppColors.greyLineColor,
indent: 20.w,
endIndent: 20.w,
),
CommonItem(
leftTitel: TranslationLoader
.lanKeys!.personalInformationCollectionList!.tr,
rightTitle: "",
isHaveLine: false,
isHaveDirection: true,
action: () {}),
Divider(
height: 1,
color: AppColors.greyLineColor,
indent: 20.w,
endIndent: 20.w,
),
CommonItem(
leftTitel: TranslationLoader
.lanKeys!.applicationPermissionDescription!.tr,
rightTitle: "",
isHaveLine: false,
isHaveDirection: true,
action: () {}),
Divider(
height: 1,
color: AppColors.greyLineColor,
indent: 20.w,
endIndent: 20.w,
),
CommonItem(
leftTitel: TranslationLoader
.lanKeys!.thirdPartyInformationSharingList!.tr,
rightTitle: "",
isHaveLine: false,
isHaveDirection: true,
action: () {}),
2023-07-18 18:10:57 +08:00
],
),
);
}
}