|
@@ -6,6 +6,7 @@ import 'package:flutter/src/widgets/framework.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';
|
|
|
import 'package:get/get_core/src/get_main.dart';
|
|
import 'package:get/get_core/src/get_main.dart';
|
|
|
|
|
+import 'package:location/data/consts/app_config.dart';
|
|
|
import 'package:location/dialog/agreement_dialog.dart';
|
|
import 'package:location/dialog/agreement_dialog.dart';
|
|
|
import 'package:location/resource/assets.gen.dart';
|
|
import 'package:location/resource/assets.gen.dart';
|
|
|
import 'package:location/utils/app_info_util.dart';
|
|
import 'package:location/utils/app_info_util.dart';
|
|
@@ -32,9 +33,9 @@ class AboutPage extends BasePage<AboutController> {
|
|
|
CommonView.buildAppBar(StringName.mineFunAbout,
|
|
CommonView.buildAppBar(StringName.mineFunAbout,
|
|
|
backOnTap: controller.back, titleCenter: false),
|
|
backOnTap: controller.back, titleCenter: false),
|
|
|
SizedBox(height: 48.w),
|
|
SizedBox(height: 48.w),
|
|
|
- Assets.images.iconLogo.image(width: 70.w, height: 70.w),
|
|
|
|
|
|
|
+ BuildConfig.logoImage.image(width: 70.w, height: 70.w),
|
|
|
SizedBox(height: 8.w),
|
|
SizedBox(height: 8.w),
|
|
|
- Text(Platform.isIOS? StringName.appNameIos : StringName.appName,
|
|
|
|
|
|
|
+ Text(BuildConfig.appName,
|
|
|
style: TextStyle(fontSize: 14.sp, color: Colors.black)),
|
|
style: TextStyle(fontSize: 14.sp, color: Colors.black)),
|
|
|
SizedBox(height: 2.w),
|
|
SizedBox(height: 2.w),
|
|
|
Text('当前版本:${appInfoUtil.appVersionName}',
|
|
Text('当前版本:${appInfoUtil.appVersionName}',
|