From 1393de0623629ac3605339d718cbb5d6ccba8a77 Mon Sep 17 00:00:00 2001 From: Khoren Markosyan Date: Sun, 8 Jan 2023 17:01:28 +0400 Subject: [PATCH] minor updates --- example/pubspec.lock | 2 +- ios/flutter_zxing.podspec | 1 - lib/src/models/params.dart | 4 ++-- test/flutter_zxing_test.dart | 1 - zxscanner/pubspec.lock | 6 +++--- zxscanner/pubspec.yaml | 2 +- 6 files changed, 7 insertions(+), 9 deletions(-) diff --git a/example/pubspec.lock b/example/pubspec.lock index 5e42cf6..3f76666 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -148,7 +148,7 @@ packages: path: ".." relative: true source: path - version: "0.9.1" + version: "0.10.0" font_awesome_flutter: dependency: "direct main" description: diff --git a/ios/flutter_zxing.podspec b/ios/flutter_zxing.podspec index 1f31265..a6186de 100644 --- a/ios/flutter_zxing.podspec +++ b/ios/flutter_zxing.podspec @@ -21,7 +21,6 @@ A new flutter plugin project. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } s.swift_version = '5.0' - # telling linker to include opencv2 framework s.xcconfig = { 'CLANG_CXX_LANGUAGE_STANDARD' => 'c++20', } diff --git a/lib/src/models/params.dart b/lib/src/models/params.dart index c27c5a6..2908f72 100644 --- a/lib/src/models/params.dart +++ b/lib/src/models/params.dart @@ -36,8 +36,8 @@ class DecodeParams { class EncodeParams { EncodeParams({ this.format = Format.qrCode, - this.width = 120, - this.height = 120, + this.width = 100, + this.height = 100, this.margin = 0, this.eccLevel = EccLevel.low, }); diff --git a/test/flutter_zxing_test.dart b/test/flutter_zxing_test.dart index 8287a4f..6070114 100644 --- a/test/flutter_zxing_test.dart +++ b/test/flutter_zxing_test.dart @@ -1,6 +1,5 @@ import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; -// import 'package:flutter_zxing/flutter_zxing.dart'; void main() { const MethodChannel channel = MethodChannel('flutter_zxing'); diff --git a/zxscanner/pubspec.lock b/zxscanner/pubspec.lock index 8b75df7..4092141 100644 --- a/zxscanner/pubspec.lock +++ b/zxscanner/pubspec.lock @@ -321,7 +321,7 @@ packages: name: flutter_zxing url: "https://pub.dartlang.org" source: hosted - version: "0.9.0" + version: "0.10.0" font_awesome_flutter: dependency: "direct main" description: @@ -440,7 +440,7 @@ packages: name: image_picker_ios url: "https://pub.dartlang.org" source: hosted - version: "0.8.6+4" + version: "0.8.6+5" image_picker_platform_interface: dependency: transitive description: @@ -713,7 +713,7 @@ packages: name: shared_preferences_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.4" + version: "2.0.5" shared_preferences_platform_interface: dependency: transitive description: diff --git a/zxscanner/pubspec.yaml b/zxscanner/pubspec.yaml index 5bfcab9..d483f1d 100644 --- a/zxscanner/pubspec.yaml +++ b/zxscanner/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: sdk: flutter flutter_markdown: ^0.6.13 flutter_mobx: ^2.0.6 - flutter_zxing: ^0.9.0 + flutter_zxing: ^0.10.0 font_awesome_flutter: ^10.3.0 hive: ^2.2.3 hive_flutter: ^1.1.0