Skip to content
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

Merged
merged 3 commits into from
Mar 14, 2021
Merged

add null safety #3

merged 3 commits into from
Mar 14, 2021

Conversation

komangnopha
Copy link
Contributor

No description provided.

deviceId:
new DeviceIdOptions(exact: _cameras[_useCamera].deviceId))));
videoPromise =
getUserMedia(new UserMediaOptions(video: new VideoOptions(deviceId: new DeviceIdOptions(exact: _cameras?[_useCamera].deviceId))));
Copy link
Owner

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.

Copy link
Contributor Author

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

Copy link
Owner

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.

Copy link
Contributor Author

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"
Copy link
Owner

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.

Suggested change
flutter: ">=1.20.0 <2.0.0"
flutter: ">=1.20.0 <3.0.0"

Copy link
Contributor Author

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

Copy link
Contributor Author

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 ?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. 0.1.1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thankyou.

@treeder
Copy link
Owner

treeder commented Mar 12, 2021

Thanks! Just a couple suggestions.

Copy link
Owner

@treeder treeder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again

@treeder treeder merged commit 0e0de7f into treeder:main Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants