captcha_view 0.2.0
captcha_view: ^0.2.0 copied to clipboard
A customizable Flutter package providing text captchas with distorted characters and slide-to-verify puzzle captchas.
0.2.0 - 2025-02-23 #
- Added
SlideVerifyView.show(context)static helper for showing puzzle captchas in a dialog modal. - Added customizable strings and localization options to
SlideVerifyView(title,sliderText,successTextBuilder). - Added
onSuccess,onFail, andonClosecallbacks toSlideVerifyView. - Added
onTaprefresh callback toCaptchaView. - Added
excludeSimilaroption toCaptchaView.generateTextto omit easily confused characters (0,O,1,I,l). - Added
customAllowedCharactersoption toCaptchaView.generateText. - Optimized
CaptchaMaskPainterrendering performance by removing repeated allocations insidepaint(). - Updated LICENSE to standard MIT License.
- Added comprehensive English documentation in README.md.
0.1.0 - 2026-08-20 #
- Migrated to Dart 3 and the latest Flutter with sound null safety.
- Replaced the removed
Theme.of(context).accentColorwithcolorScheme.secondary. - Replaced
@requiredwith therequiredkeyword. - Replaced the deprecated
Color.withOpacitywithColor.withValues. - Fixed the asset declarations to match the actual asset paths.
- Replaced the missing
ic_checked.pngasset with a Material icon. - Moved the implementation files to
lib/srcand added a barrel file. - Added an
exampleapp. - Added unit and widget tests.
- Improved the API documentation.
0.0.1 - 2021-01-22 #
- Initial release.
