Skip to content

Commit 7b8fac7

Browse files
authored
Merge pull request #17 from santetis/bugfix/installationIssue
put camera as https and not git url
2 parents 56532d2 + ae399d9 commit 7b8fac7

File tree

4 files changed

+23
-21
lines changed

4 files changed

+23
-21
lines changed

example/pubspec.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.0.8"
10+
version: "2.2.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -21,7 +21,7 @@ packages:
2121
path: "packages/camera"
2222
ref: "feature/camera_api_16_installation"
2323
resolved-ref: "301f85e52cbf32dae44510b3f49167133df1ffc2"
24-
url: "git@github.com:jaumard/plugins.git"
24+
url: "https://github.com/jaumard/plugins"
2525
source: git
2626
version: "0.4.4"
2727
charcode:
@@ -70,7 +70,7 @@ packages:
7070
path: ".."
7171
relative: true
7272
source: path
73-
version: "1.4.0"
73+
version: "1.5.0"
7474
flutter_test:
7575
dependency: "direct dev"
7676
description: flutter
@@ -82,7 +82,7 @@ packages:
8282
name: matcher
8383
url: "https://pub.dartlang.org"
8484
source: hosted
85-
version: "0.12.3+1"
85+
version: "0.12.5"
8686
meta:
8787
dependency: transitive
8888
description:
@@ -110,14 +110,14 @@ packages:
110110
name: pedantic
111111
url: "https://pub.dartlang.org"
112112
source: hosted
113-
version: "1.4.0"
113+
version: "1.5.0"
114114
quiver:
115115
dependency: transitive
116116
description:
117117
name: quiver
118118
url: "https://pub.dartlang.org"
119119
source: hosted
120-
version: "2.0.1"
120+
version: "2.0.3"
121121
sky_engine:
122122
dependency: transitive
123123
description: flutter
@@ -129,7 +129,7 @@ packages:
129129
name: source_span
130130
url: "https://pub.dartlang.org"
131131
source: hosted
132-
version: "1.5.4"
132+
version: "1.5.5"
133133
stack_trace:
134134
dependency: transitive
135135
description:
@@ -143,7 +143,7 @@ packages:
143143
name: stream_channel
144144
url: "https://pub.dartlang.org"
145145
source: hosted
146-
version: "1.6.8"
146+
version: "2.0.0"
147147
string_scanner:
148148
dependency: transitive
149149
description:
@@ -164,7 +164,7 @@ packages:
164164
name: test_api
165165
url: "https://pub.dartlang.org"
166166
source: hosted
167-
version: "0.2.2"
167+
version: "0.2.5"
168168
typed_data:
169169
dependency: transitive
170170
description:
@@ -180,5 +180,5 @@ packages:
180180
source: hosted
181181
version: "2.0.8"
182182
sdks:
183-
dart: ">=2.1.0 <3.0.0"
183+
dart: ">=2.2.0 <3.0.0"
184184
flutter: ">=1.2.0 <2.0.0"

lib/flutter_camera_ml_vision.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ class CameraMlVisionState<T> extends State<CameraMlVision<T>> {
122122
}
123123
}
124124

125+
CameraValue get cameraValue => _cameraController?.value;
126+
125127
Future<void> _initialize() async {
126128
if (Platform.isAndroid) {
127129
final deviceInfo = DeviceInfoPlugin();

pubspec.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.0.8"
10+
version: "2.2.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -21,7 +21,7 @@ packages:
2121
path: "packages/camera"
2222
ref: "feature/camera_api_16_installation"
2323
resolved-ref: "301f85e52cbf32dae44510b3f49167133df1ffc2"
24-
url: "git@github.com:jaumard/plugins.git"
24+
url: "https://github.com/jaumard/plugins"
2525
source: git
2626
version: "0.4.4"
2727
charcode:
@@ -68,7 +68,7 @@ packages:
6868
name: matcher
6969
url: "https://pub.dartlang.org"
7070
source: hosted
71-
version: "0.12.3+1"
71+
version: "0.12.5"
7272
meta:
7373
dependency: transitive
7474
description:
@@ -96,14 +96,14 @@ packages:
9696
name: pedantic
9797
url: "https://pub.dartlang.org"
9898
source: hosted
99-
version: "1.4.0"
99+
version: "1.5.0"
100100
quiver:
101101
dependency: transitive
102102
description:
103103
name: quiver
104104
url: "https://pub.dartlang.org"
105105
source: hosted
106-
version: "2.0.1"
106+
version: "2.0.3"
107107
sky_engine:
108108
dependency: transitive
109109
description: flutter
@@ -115,7 +115,7 @@ packages:
115115
name: source_span
116116
url: "https://pub.dartlang.org"
117117
source: hosted
118-
version: "1.5.4"
118+
version: "1.5.5"
119119
stack_trace:
120120
dependency: transitive
121121
description:
@@ -129,7 +129,7 @@ packages:
129129
name: stream_channel
130130
url: "https://pub.dartlang.org"
131131
source: hosted
132-
version: "1.6.8"
132+
version: "2.0.0"
133133
string_scanner:
134134
dependency: transitive
135135
description:
@@ -150,7 +150,7 @@ packages:
150150
name: test_api
151151
url: "https://pub.dartlang.org"
152152
source: hosted
153-
version: "0.2.2"
153+
version: "0.2.5"
154154
typed_data:
155155
dependency: transitive
156156
description:
@@ -166,5 +166,5 @@ packages:
166166
source: hosted
167167
version: "2.0.8"
168168
sdks:
169-
dart: ">=2.1.0 <3.0.0"
169+
dart: ">=2.2.0 <3.0.0"
170170
flutter: ">=1.2.0 <2.0.0"

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_camera_ml_vision
22
description: A flutter widget that show the camera stream and allow ML vision recognition on it, it allow you to detect barcodes, labels, text, faces...
3-
version: 1.4.0
3+
version: 1.5.0
44
authors:
55
- Jimmy Aumard <[email protected]>
66
- Kevin Segaud <[email protected]>
@@ -19,7 +19,7 @@ dependencies:
1919
device_info: ^0.4.0+1
2020
camera:
2121
git:
22-
url: git@github.com:jaumard/plugins.git
22+
url: https://github.com/jaumard/plugins
2323
ref: feature/camera_api_16_installation
2424
path: packages/camera
2525

0 commit comments

Comments
 (0)