Browse Source

minor updates

pull/76/head
Khoren Markosyan 2 years ago
parent
commit
1393de0623
  1. 2
      example/pubspec.lock
  2. 1
      ios/flutter_zxing.podspec
  3. 4
      lib/src/models/params.dart
  4. 1
      test/flutter_zxing_test.dart
  5. 6
      zxscanner/pubspec.lock
  6. 2
      zxscanner/pubspec.yaml

2
example/pubspec.lock

@ -148,7 +148,7 @@ packages:
path: ".." path: ".."
relative: true relative: true
source: path source: path
version: "0.9.1" version: "0.10.0"
font_awesome_flutter: font_awesome_flutter:
dependency: "direct main" dependency: "direct main"
description: description:

1
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.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.swift_version = '5.0' s.swift_version = '5.0'
# telling linker to include opencv2 framework
s.xcconfig = { s.xcconfig = {
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++20', 'CLANG_CXX_LANGUAGE_STANDARD' => 'c++20',
} }

4
lib/src/models/params.dart

@ -36,8 +36,8 @@ class DecodeParams {
class EncodeParams { class EncodeParams {
EncodeParams({ EncodeParams({
this.format = Format.qrCode, this.format = Format.qrCode,
this.width = 120, this.width = 100,
this.height = 120, this.height = 100,
this.margin = 0, this.margin = 0,
this.eccLevel = EccLevel.low, this.eccLevel = EccLevel.low,
}); });

1
test/flutter_zxing_test.dart

@ -1,6 +1,5 @@
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
// import 'package:flutter_zxing/flutter_zxing.dart';
void main() { void main() {
const MethodChannel channel = MethodChannel('flutter_zxing'); const MethodChannel channel = MethodChannel('flutter_zxing');

6
zxscanner/pubspec.lock

@ -321,7 +321,7 @@ packages:
name: flutter_zxing name: flutter_zxing
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.9.0" version: "0.10.0"
font_awesome_flutter: font_awesome_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
@ -440,7 +440,7 @@ packages:
name: image_picker_ios name: image_picker_ios
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.8.6+4" version: "0.8.6+5"
image_picker_platform_interface: image_picker_platform_interface:
dependency: transitive dependency: transitive
description: description:
@ -713,7 +713,7 @@ packages:
name: shared_preferences_macos name: shared_preferences_macos
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.4" version: "2.0.5"
shared_preferences_platform_interface: shared_preferences_platform_interface:
dependency: transitive dependency: transitive
description: description:

2
zxscanner/pubspec.yaml

@ -17,7 +17,7 @@ dependencies:
sdk: flutter sdk: flutter
flutter_markdown: ^0.6.13 flutter_markdown: ^0.6.13
flutter_mobx: ^2.0.6 flutter_mobx: ^2.0.6
flutter_zxing: ^0.9.0 flutter_zxing: ^0.10.0
font_awesome_flutter: ^10.3.0 font_awesome_flutter: ^10.3.0
hive: ^2.2.3 hive: ^2.2.3
hive_flutter: ^1.1.0 hive_flutter: ^1.1.0

Loading…
Cancel
Save