cloudflare_turnstile
3.8.1, released 4 months ago by an unverified publisher
Cloudflare Turnstile CAPTCHA alternative widget for Flutter applications.
WASM-readyUnverified publisher
What it does
Integrates Cloudflare Turnstile CAPTCHA-free web verification into Flutter apps for Android, iOS, web, Windows, and macOS. It supports both visible widgets and an invisible background mode to retrieve verification tokens.
AI-written summary of version 3.8.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to protect your app or login flows from bots using Cloudflare Turnstile.
- You require an invisible CAPTCHA solution that runs challenges in the background.
Skip it when
- You prefer using traditional CAPTCHAs like reCAPTCHA or hCaptcha instead of Cloudflare Turnstile.
- You cannot provide a valid baseUrl configured in your Turnstile widget domain list for mobile platforms.
Strengths
- Supports multiple platforms including Android, iOS, Web, Windows, and macOS.
- Provides both a visible widget and an invisible mode with future token retrieval.
Weaknesses
- Unofficial package not endorsed by Cloudflare.
- Requires specific WebView setup on Windows platforms.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Requires adding the package and following inappwebview setup instructions for Windows if targeting that platform.
CloudflareTurnstile(
siteKey: '3x00000000000000000000FF',
baseUrl: 'http://localhost/',
onTokenReceived: (token) {
print(token);
},
)Works with
Packages commonly used together with cloudflare_turnstile: ones it builds on, ones built on it, and its own family.