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

Use validator method instead of ValidateType, Added onDispose property #43

Merged
merged 2 commits into from
Apr 15, 2023

Conversation

MahmoudKEA
Copy link
Contributor

@MahmoudKEA MahmoudKEA commented Apr 14, 2023

AiBarcodeScanner(
  validator: (value) {
    return value.startsWith('https://');
  },
  onDispose: () {
    debugPrint("Barcode scanner disposed!");
  },
);

@MahmoudKEA MahmoudKEA changed the title Use validator method instead of ValidateType, Added onDispose property Use validator method instead of ValidateType, #36 Added onDispose property Apr 14, 2023
@MahmoudKEA MahmoudKEA changed the title Use validator method instead of ValidateType, #36 Added onDispose property Use validator method instead of ValidateType, Added onDispose property Apr 14, 2023
@rvndsngwn rvndsngwn merged commit 05da94b into mohesu:master Apr 15, 2023
@rvndsngwn
Copy link
Member

I greatly appreciate your work, @MahmoudKhalid. Thanks a lot.

@MahmoudKEA
Copy link
Contributor Author

@rvndsngwn Thanks too, I noticed that I forgot to update the README.md file to use validator instead of ValidateText and validateType

rvndsngwn added a commit that referenced this pull request Apr 17, 2023
- [#43](#43) added, Thanks to @MahmoudKhalid
- Readme updated
- mobile_scanner: ^3.2.0 added
- Added validator property, Deprecated validateText and validateType by @MahmoudKhalid
- Added onDispose property by @MahmoudKhalid
@rvndsngwn
Copy link
Member

@rvndsngwn Thanks too, I noticed that I forgot to update the README.md file to use validator instead of ValidateText and validateType

The README.md file has been updated to reflect the latest release, version 0.0.5.

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