fadsync_email_validator 1.0.0
fadsync_email_validator: ^1.0.0 copied to clipboard
Superfast email validation, disposable email detection, and anti-fraud auth guard SDK for Flutter. Secure login and signup flows with 1 click.
Changelog #
All notable changes to the fadsync_email_validator package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2026-08-07 #
Added #
- Core SDK Client (
FadSyncEmailValidator):- Direct email verification via FadSync MailCheck API (https://mailcheck.fadsync.com/).
- Automatic in-memory LRU caching to eliminate redundant network calls.
- Configurable timeouts, custom base URLs, and strictness levels.
- Rich Data Models (
ValidationResult,DomainDetails,ValidationRecommendation):isSafeToRegister,isBlocked,isDisposable,isFreeProvider,isRoleAccount,riskScore.- Smart typo detection (
typoFix,hasTypoSuggestion). - Computed
userFriendlyMessagefor instant UI error display.
- 1-Click Auth Guard (
FadSyncAuthGuard):- Protect signup, login, password reset, and newsletter subscription forms with one method call.
- Automatic callbacks for
onAllowed,onBlocked, andonTypoFound.
- Drop-in UI Widgets:
EmailValidatorFormField: Pre-builtTextFormFieldwith async validation debounce, animated status spinner, and error styling.TypoSuggestionChip: Animated autocorrect chip allowing users to accept suggested corrections with 1 tap.
- Custom Exceptions:
FadSyncApiException,FadSyncAuthException,FadSyncRateLimitException,FadSyncNetworkException.
- Complete Example App:
- Demonstrating secure registration flow with database simulation and live email risk analyzer.
- Unit & Widget Tests:
- Mocked HTTP client tests and widget behavior assertions.