|
|
|
@ -1,10 +1,12 @@
|
|
|
|
|
import 'dart:io'; |
|
|
|
|
|
|
|
|
|
import 'package:flutter/cupertino.dart'; |
|
|
|
|
import 'package:flutter/foundation.dart'; |
|
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
|
import 'package:huixiang/main.dart'; |
|
|
|
|
import 'package:huixiang/utils/bridge.dart'; |
|
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/my_appbar.dart'; |
|
|
|
@ -46,7 +48,10 @@ class _AboutPage extends State<AboutPage> {
|
|
|
|
|
Container( |
|
|
|
|
decoration: new BoxDecoration( |
|
|
|
|
border: Border( |
|
|
|
|
bottom: BorderSide(color: Color(0xffF7F7F7), width: 0.0)), |
|
|
|
|
bottom: BorderSide( |
|
|
|
|
color: Color(0xffF7F7F7), width: 0.0, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
color: Color(0xffF7F7F7), |
|
|
|
|
), |
|
|
|
|
padding: EdgeInsets.only(top: 25.h), |
|
|
|
@ -98,6 +103,15 @@ class _AboutPage extends State<AboutPage> {
|
|
|
|
|
}, |
|
|
|
|
child: textItem(S.of(context).shiyongbangzhu), |
|
|
|
|
), |
|
|
|
|
if (kDebugMode) |
|
|
|
|
InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
Navigator.of(context).pushNamed( |
|
|
|
|
'/router/help_feedback_page' |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
|
child: textItem("ip:${socketClient.ip} port:${socketClient.port} id:${socketClient.userId}"), |
|
|
|
|
), |
|
|
|
|
if (!Platform.isAndroid) |
|
|
|
|
GestureDetector( |
|
|
|
|
child: settingSingleItem(S.of(context).geiwopingfen), |
|
|
|
@ -220,7 +234,8 @@ class _AboutPage extends State<AboutPage> {
|
|
|
|
|
size: 24, |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
)), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|