Skip to main content

bitcaptcha_flutter 0.6.4 copy "bitcaptcha_flutter: ^0.6.4" to clipboard
bitcaptcha_flutter: ^0.6.4 copied to clipboard

Flutter widgets for BitCaptcha, the human verification service by Xinghui Shudun - smart invisible check, slide puzzle, text and icon click, inline or dialog.

0.6.4 #

  • Fix: the puzzle was distorted when the parent was narrower than minWidth (280). The widget sized its geometry for 280 while the parent squeezed the box, so the background was compressed horizontally but the puzzle piece was not — the piece could never line up with the gap. This hit showBitCaptcha on 360dp-wide phones (the dialog left only 248) and 375pt iPhones. The render width is now capped at the available width and everything scales uniformly; the text / icon click widget gets the same cap, so tap positions map correctly.
  • showBitCaptcha / showBitCaptchaText use a 20px horizontal inset instead of the Material default 40, so a 360dp-wide phone gets a 288px puzzle instead of 248.
  • When the parent is resized (rotation, split screen, desktop window) while the handle is away from the start, the handle keeps its logical position instead of its pixel offset.
  • Each check now reports the measured size of the puzzle on screen and the SDK version, so display problems on a class of screens show up on the service side instead of waiting for user reports.

0.6.3 #

  • Fix: after the slide puzzle showed a full-bar notice (challenge expired, load failure, network or unusual-activity error), the next challenge came back without the slider handle — only a warning icon and the "slide" hint, so it could not be dragged. Loading a new challenge now always returns to handle mode, matching the Web and Mini Program SDKs.

0.6.2 #

First release on pub.dev. The version number is kept in step with the Web and WeChat Mini Program SDKs.

  • Four verification types: smart invisible check BitCaptchaSense, slide puzzle BitCaptcha, text click BitCaptchaText, icon click BitCaptchaText(icon: true)
  • Inline widgets plus dialogs showBitCaptcha / showBitCaptchaText; a dialog returns null when the user closes it
  • Fills the parent width by default (fluid), or a fixed width; light / dark BitCaptchaTheme with custom colors
  • Built-in zh-CN / zh-TW / en / ja / ko strings; lang: 'auto' follows the system locale, i18n overrides any key
  • Inline widgets load lazily (lazy): the challenge is fetched once the widget scrolls near the viewport
  • Load failures, rate limits and too many attempts collapse the panel into a single notice; rate-limit countdowns retry automatically
  • onError receives a BitCaptchaException with code (network / server / rate_limited / cooldown / quota_exceeded / http) and retryAfter
0
likes
160
points
117
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Flutter widgets for BitCaptcha, the human verification service by Xinghui Shudun - smart invisible check, slide puzzle, text and icon click, inline or dialog.

Homepage

Topics

#captcha #security #verification #bot-protection

License

MIT (license)

Dependencies

crypto, cryptography, flutter, http

More

Packages that depend on bitcaptcha_flutter