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

Cut Out Size should be nullable or the condition for this should accepted 0 AND Need provision to hide camera switch button #32

Closed
Abhinav-Satija opened this issue Feb 16, 2023 · 2 comments

Comments

@Abhinav-Satija
Copy link

original code assert(
(cutOutWidth == null && cutOutHeight == null) ||
(cutOutSize == null && cutOutWidth != null && cutOutHeight != null),
'Use only cutOutWidth and cutOutHeight or only cutOutSize');
}

working one assert(
(cutOutWidth == null && cutOutHeight == null) ||
(cutOutSize == 0.0 && cutOutWidth != null && cutOutHeight != null),
'Use only cutOutWidth and cutOutHeight or only cutOutSize');
}

can you update this release to another version?

@rvndsngwn
Copy link
Member

Hi @Abhinav-Satija thanks for using this package.

Yes, I'll be improving this package always. I appreciate your suggestion.

rvndsngwn added a commit that referenced this issue Feb 22, 2023
- mobile_scanner: ^3.0.0 added
- [#25](#25) fixed
- [#32](#32) added, Thanks to @Abhinav-Satija
@rvndsngwn
Copy link
Member

0.0.4 https://pub.dev/packages/ai_barcode_scanner the latest version which fixes this issue.

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

No branches or pull requests

2 participants