@ -44,7 +44,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.akucommunity.aku_community_manager"
minSdkVersion 24
minSdkVersion 21
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
@ -48,9 +48,9 @@ class _ScanPageState extends State<ScanPage> {
onQRViewCreated: (controller) {
_qrViewController = controller;
controller.scannedDataStream.listen((event) {
if (tempText != event) {
tempText = event;
BotToast.showText(text: event);
if (tempText != event.code) {
tempText = event.code;
BotToast.showText(text: event.code);
}
});
},
@ -337,7 +337,7 @@ packages:
name: qr_code_scanner
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.0.13"
version: "0.3.4"
rational:
dependency: transitive
description:
@ -40,7 +40,7 @@ dependencies:
#划动组件
carousel_slider: ^2.3.1
#qrcode san
qr_code_scanner: ^0.0.13
qr_code_scanner:
#toast
bot_toast: ^3.0.4