-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add null safety #3
Conversation
lib/scanner2.dart
Outdated
deviceId: | ||
new DeviceIdOptions(exact: _cameras[_useCamera].deviceId)))); | ||
videoPromise = | ||
getUserMedia(new UserMediaOptions(video: new VideoOptions(deviceId: new DeviceIdOptions(exact: _cameras?[_useCamera].deviceId)))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like these lines will go beyond the default dart formatting of 80 columns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ya, sorry.. i was removed that default dart formatting 80 col from my vscode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change it back, at least for this workspace in vscode? Otherwise, the next time anyone else edits these files these lines will change back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls check again
pubspec.yaml
Outdated
@@ -6,7 +6,7 @@ repository: https://github.com/treeder/jsqr_flutter | |||
issue_tracker: https://github.com/treeder/jsqr_flutter/issues | |||
|
|||
environment: | |||
sdk: ">=2.7.0 <3.0.0" | |||
sdk: '>=2.12.0-29.10.beta <3.0.0' | |||
flutter: ">=1.20.0 <2.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should let this upgrade to flutter 2 as well.
flutter: ">=1.20.0 <2.0.0" | |
flutter: ">=1.20.0 <3.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, i've remove the maximum constraint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again
you're welcome.
will you update versioning of this package in pub.dev ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. 0.1.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thankyou.
Thanks! Just a couple suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again
No description provided.