更改隐私政策

hmxc
张萌 3 years ago
parent 5785f00245
commit f87abb7707

@ -1,58 +1,64 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.akucommunity.aku_community_manager"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.akucommunity.aku_community_manager">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that <!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method. calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. --> FlutterApplication and put your custom class here. -->
<application android:name="io.flutter.app.FlutterApplication" android:label="小蜜蜂智慧小区管家端" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true"> <application android:name="io.flutter.app.FlutterApplication" android:label="小蜜蜂智慧小区管家端"
<service android:name="com.amap.api.location.APSService"/> android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true">
<meta-data android:name="com.amap.api.v2.apikey" android:value="01b4902aa29bd50ae71ccc2c920ceb10"/> <service android:name="com.amap.api.location.APSService"/>
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize"> <meta-data android:name="com.amap.api.v2.apikey" android:value="01b4902aa29bd50ae71ccc2c920ceb10"/>
<!-- Specifies an Android theme to apply to this Activity as soon as <activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme"
the Android process has started. This theme is visible to the user android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
while the Flutter UI initializes. After that, this theme continues android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
to determine the Window background behind the Flutter UI. --> <!-- Specifies an Android theme to apply to this Activity as soon as
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" /> the Android process has started. This theme is visible to the user
<!-- Displays an Android View that continues showing the launch screen while the Flutter UI initializes. After that, this theme continues
Drawable until Flutter paints its first frame, then this splash to determine the Window background behind the Flutter UI. -->
screen fades out. A splash screen is useful to avoid any visual <meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme"/>
gap between the end of Android's launch screen and the painting of <!-- Displays an Android View that continues showing the launch screen
Flutter's first frame. --> Drawable until Flutter paints its first frame, then this splash
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" /> screen fades out. A splash screen is useful to avoid any visual
<intent-filter> gap between the end of Android's launch screen and the painting of
<action android:name="android.intent.action.MAIN"/> Flutter's first frame. -->
<category android:name="android.intent.category.LAUNCHER"/> <meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable"
</intent-filter> android:resource="@drawable/launch_background"/>
</activity> <intent-filter>
<!-- Don't delete the meta-data below. <action android:name="android.intent.action.MAIN"/>
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> <category android:name="android.intent.category.LAUNCHER"/>
<meta-data android:name="flutterEmbedding" android:value="2" /> </intent-filter>
<meta-data android:name="io.flutter.network-policy" </activity>
android:resource="@xml/network_security_config"/> <!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data android:name="flutterEmbedding" android:value="2"/>
<meta-data android:name="io.flutter.network-policy"
android:resource="@xml/network_security_config"/>
</application> </application>
<!--允许程序打开网络套接字--> <!--允许程序打开网络套接字-->
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET"/>
<!--允许程序设置内置sd卡的写权限--> <!--允许程序设置内置sd卡的写权限-->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<!--允许程序获取网络状态--> <!--允许程序获取网络状态-->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<!--允许程序访问WiFi网络信息--> <!--允许程序访问WiFi网络信息-->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<!--允许程序读写手机状态和身份--> <!--允许程序读写手机状态和身份-->
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<!--允许程序访问CellID或WiFi热点来获取粗略的位置--> <!--允许程序访问CellID或WiFi热点来获取粗略的位置-->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<!-- 保存照片到相册 --> <!-- 保存照片到相册 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<!-- 打开相册选取图片 --> <!-- 打开相册选取图片 -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<!--获取相机权限--> <!--获取相机权限-->
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.CAMERA"/>
<!-- <activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity"/> --> <!-- <activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity"/> -->
<!--获取网络--> <!--获取网络-->
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.BLUETOOTH"/> <uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission-sdk-23 android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission-sdk-23 android:name="android.permission.ACCESS_FINE_LOCATION"/>
<!-- 读取手机IMEI的设备权限 -->
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
</manifest> </manifest>

@ -35,6 +35,7 @@
14F672331E5943D83C113F31 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; }; 14F672331E5943D83C113F31 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
36B722CE353764B6A5E21BE5 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; }; 36B722CE353764B6A5E21BE5 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
686A183B2716B3CC00B82E2F /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
6C87529B7C63E61100F93BB8 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 6C87529B7C63E61100F93BB8 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@ -112,6 +113,7 @@
97C146F01CF9000F007C117D /* Runner */ = { 97C146F01CF9000F007C117D /* Runner */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
686A183B2716B3CC00B82E2F /* Runner.entitlements */,
97C146FA1CF9000F007C117D /* Main.storyboard */, 97C146FA1CF9000F007C117D /* Main.storyboard */,
97C146FD1CF9000F007C117D /* Assets.xcassets */, 97C146FD1CF9000F007C117D /* Assets.xcassets */,
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
@ -372,6 +374,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = R45ZDS6S92; DEVELOPMENT_TEAM = R45ZDS6S92;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
@ -502,6 +505,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = R45ZDS6S92; DEVELOPMENT_TEAM = R45ZDS6S92;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
@ -526,6 +530,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = R45ZDS6S92; DEVELOPMENT_TEAM = R45ZDS6S92;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;

@ -28,31 +28,31 @@
<true/> <true/>
</dict> </dict>
<key>NSAppleMusicUsageDescription</key> <key>NSAppleMusicUsageDescription</key>
<string>we need music access rights.</string> <string>请允许访问,否则无法在小蜜蜂社区中发送及保存照片.</string>
<key>NSBluetoothAlwaysUsageDescription</key> <key>NSBluetoothAlwaysUsageDescription</key>
<string>we need bluetooth access rights</string> <string>我们需要访问蓝牙,以连接蓝牙设备</string>
<key>NSBluetoothPeripheralUsageDescription</key> <key>NSBluetoothPeripheralUsageDescription</key>
<string>we need bluetooth access rights</string> <string>我们需要访问蓝牙,以连接蓝牙设备</string>
<key>NSCalendarsUsageDescription</key> <key>NSCalendarsUsageDescription</key>
<string>we need calendar access rights.</string> <string>请允许访问,否则无法查看您每日的浏览记录</string>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>we need camera access rights.</string> <string>我们需要访问您的相机,用于上传报修情况等相关功能</string>
<key>NSContactsUsageDescription</key> <key>NSContactsUsageDescription</key>
<string>we need contact access rights.</string> <string>我们需要访问您的通讯录,获取通讯录信息.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key> <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>we need location access rights.</string> <string>请允许访问,否则无法在小蜜蜂社区中使用商家服务、本地生活、发送地理位置等定位相关功能.</string>
<key>NSLocationAlwaysUsageDescription</key> <key>NSLocationAlwaysUsageDescription</key>
<string>we need location access rights.</string> <string>获取定位权限: 小蜜蜂社区会在一键报警,查看物流等服务中使用您的位置信息.</string>
<key>NSLocationWhenInUseUsageDescription</key> <key>NSLocationWhenInUseUsageDescription</key>
<string>we need location access rights.</string> <string>获取定位权限: 小蜜蜂社区会在一键报警,查看物流等服务中使用您的位置信息.</string>
<key>NSMotionUsageDescription</key> <key>NSMotionUsageDescription</key>
<string>we need motion access rights.</string> <string>同步健康数据到App.</string>
<key>NSPhotoLibraryAddUsageDescription</key> <key>NSPhotoLibraryAddUsageDescription</key>
<string>we need photo access rights.</string> <string>我们需要访问您的照片,用于上传报修状况等相关功能</string>
<key>NSPhotoLibraryUsageDescription</key> <key>NSPhotoLibraryUsageDescription</key>
<string>we need photo access rights.</string> <string>我们需要访问您的照片,用于上传报修状况等相关功能</string>
<key>NSSpeechRecognitionUsageDescription</key> <key>NSSpeechRecognitionUsageDescription</key>
<string>we need speech recognition access rights.</string> <string>请允许访问,否则无法将语音消息转换为文字.</string>
<key>UILaunchStoryboardName</key> <key>UILaunchStoryboardName</key>
<string>LaunchScreen</string> <string>LaunchScreen</string>
<key>UIMainStoryboardFile</key> <key>UIMainStoryboardFile</key>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist>

@ -1,12 +1,10 @@
// Flutter imports: // Flutter imports:
// Project imports:
import 'package:aku_community_manager/ui/widgets/common/aku_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
// Package imports: // Package imports:
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
// Project imports:
import 'package:aku_community_manager/ui/widgets/common/aku_scaffold.dart';
class PrivacyPage extends StatelessWidget { class PrivacyPage extends StatelessWidget {
const PrivacyPage({Key? key}) : super(key: key); const PrivacyPage({Key? key}) : super(key: key);
@ -20,8 +18,105 @@ class PrivacyPage extends StatelessWidget {
children: [ children: [
Text( Text(
''' '''
APPAPP便使使 20209
2020V2
使APP 使APP使 使使 //()
1.1
使使
2.1
APP线
2.2
2.2.1 使
2.2.2 iOSandroid
2.3
2.3.1 使使
2.3.2 使使
3.1
3.2 使
4.1
4.2
4.3
4.4 使
5.1
5.2
5.3 使
6.1
6.2 使使使
6.3
6.4 访使
6.5
7.1 使
7.1.1 使使 7.1.2 使使使使 7.1.3 怀使
7.2
7.2.1 使
7.2.2
7.2.2.1
7.2.2.2
7.2.2.3 使
7.2.3 使
7.2.3.1
7.2.3.2
7.2.3.3 使访
7.2.3.4
7.2.3.5 线线
7.2.4 14
7.2.5 ;
7.3
7.3.1 使
8.1
8.1.1
8.1.1.1
8.1.1.2
8.1.1.3
8.1.1.4 广
8.1.1.5
8.2 使
使
8.2.1
8.2.2
8.2.3 使
8.2.4 使/
8.2.5
8.2.6 使
8.2.7
8.2.8
8.3
使
8.3.1
8.3.2
8.3.3
8.3.4
8.3.5 广广
8.3.6
8.3.7
8.3.8
8.4
使
8.5
8.5.1 使
8.5.2
8.5.3
9.1 9.2
10.1 访使 10.2 使 10.3 使 10.4 10.5
11.1 使使使 11.2 使使 11.3 使
12.1 APP---APP 1APP 2/ 使访使
12.20574-87760023
便使使
1. 1.
2.使 2.使
3. 3.
@ -30,95 +125,119 @@ class PrivacyPage extends StatelessWidget {
6. 6.
7. 7.
8. 8.
1. 1.
1.1 1.1
APP使APP便访 APP使APP便访
1.2 1.2
APPAPP使APP使 APPAPP使APP使 APP使使APPAPP使APP 使使
APP使使APPAPP使APP
使使
使
使 /
/ 使使 使使
使使
使使使 使使
访 使访访访访访访访访访访
使使使 使使使
使 访
使使使 使访访访访访访访访访访
/ 使
使 使使使
使
/ 使 使
使
使 使使使
使 /
使使 使
使
使使 使
/ 使使使
使, 使使使
使,
使, 使
访使 /
访使 使
使访
使访 使
使访
使访 使
使访
使访 使
使访 ETC
使访 使ETC
使访
使访 使使 使使
使访
使
使,
访 访使
访 访使 使访 使访 使访 使访 使访 使访 使访 使访 使访 使访 访 访 访 访 访
访
访
访
(iOS) 访
/ 使访
1.3 1.3
APPAPP APPAPP 使访
使访
1.4 1.4
1.5 1.5
便使APPID访 便使APPID访
2.使 2.使
2.1  2.1
2.2 APP使使使APPAPP使 2.2 APP使使使APPAPP使
3. 3.
3.1  3.1
3.2  3.2
4. 4.
便 便 app
app
5. 5.
访使APP 访使APP APP 使 线APP
APP
使
线APP
6. 6.
6.1 APP访 6.1 APP访
6.2  6.2
7. 7.
APP18使APPAPP使8 APP18使APPAPP使8
8. 8.
johnson.yang@akuhome.com xin@akuhome.com
20201020 9.使
9.1. 使使/使
9.2. 使//使/使
9.3. //使/使
9.4. 使
9.4.1
1 使/
2 使
9.4.2
1 使
10.
访使
10.1. 访
10.1.1 访
10.1.2 使使稿
10.1.3 访
10.2. /
//
10.3. /////-
10.4. 使线///
3.
3.1
3.2
1
2 使
3
4
5
4.
使App/
5.
线使使
使/APP-
''', ''',
style: Theme.of(context).textTheme.subtitle1, style: Theme.of(context).textTheme.subtitle1,
), ),

@ -1,11 +1,4 @@
// Flutter imports: // Flutter imports:
import 'package:aku_community_manager/ui/widgets/common/aku_button.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
// Project imports: // Project imports:
import 'package:aku_community_manager/const/resource.dart'; import 'package:aku_community_manager/const/resource.dart';
import 'package:aku_community_manager/provider/user_provider.dart'; import 'package:aku_community_manager/provider/user_provider.dart';
@ -14,6 +7,11 @@ import 'package:aku_community_manager/ui/login/login_page.dart';
import 'package:aku_community_manager/ui/settings/settings_page.dart'; import 'package:aku_community_manager/ui/settings/settings_page.dart';
import 'package:aku_community_manager/ui/settings/user_info_page.dart'; import 'package:aku_community_manager/ui/settings/user_info_page.dart';
import 'package:aku_community_manager/ui/widgets/app_widgets/aku_avatar.dart'; import 'package:aku_community_manager/ui/widgets/app_widgets/aku_avatar.dart';
import 'package:aku_community_manager/ui/widgets/common/aku_button.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
class PersonalDraw extends StatefulWidget { class PersonalDraw extends StatefulWidget {
PersonalDraw({Key? key}) : super(key: key); PersonalDraw({Key? key}) : super(key: key);
@ -23,7 +21,7 @@ class PersonalDraw extends StatefulWidget {
} }
class _PersonalDrawState extends State<PersonalDraw> { class _PersonalDrawState extends State<PersonalDraw> {
Widget _myListTile(String path, String text, { VoidCallback? onPressed}) { Widget _myListTile(String path, String text, {VoidCallback? onPressed}) {
return AkuButton( return AkuButton(
onPressed: onPressed, onPressed: onPressed,
child: Container( child: Container(
@ -125,7 +123,7 @@ class _PersonalDrawState extends State<PersonalDraw> {
: Get.to(() => LoginPage()); : Get.to(() => LoginPage());
}, },
), ),
_myListTile(R.ASSETS_USER_IC_KEFU_PNG, '联系客服'), // _myListTile(R.ASSETS_USER_IC_KEFU_PNG, '联系客服'),
_myListTile(R.ASSETS_USER_IC_SETUP_PNG, '设置', onPressed: () { _myListTile(R.ASSETS_USER_IC_SETUP_PNG, '设置', onPressed: () {
Get.to(() => SettingsPage()); Get.to(() => SettingsPage());
}), }),

@ -17,7 +17,7 @@ class AkuButton extends StatefulWidget {
required this.child, required this.child,
this.height = 0, this.height = 0,
this.radius = 0, this.radius = 0,
this.onPressed, this.onPressed,
this.padding = EdgeInsets.zero, this.padding = EdgeInsets.zero,
this.color = Colors.transparent, this.color = Colors.transparent,
this.width = 0, this.width = 0,
@ -33,7 +33,7 @@ class _AkuButtonState extends State<AkuButton> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return isIOS return isIOS
? AkuCupertinoButton( ? AkuCupertinoButton(
onPressed: widget.onPressed!, onPressed: widget.onPressed ?? () {},
child: widget.child, child: widget.child,
radius: widget.radius, radius: widget.radius,
minHeight: widget.height, minHeight: widget.height,

@ -3,7 +3,7 @@ description: A new Flutter application.
publish_to: "none" publish_to: "none"
version: 1.8.1-dev+15 version: 1.8.2-dev+16
environment: environment:
sdk: '>=2.12.0 <3.0.0' sdk: '>=2.12.0 <3.0.0'

Loading…
Cancel
Save