flutter_mfa_ui 0.2.0
flutter_mfa_ui: ^0.2.0 copied to clipboard
Accessible, design-system independent Flutter widgets for multi-factor authentication: OTP code field, code display with countdown, account list, enrolment QR and status badges.
Changelog #
All notable changes to this package are documented here. The format follows Keep a Changelog and this package uses Semantic Versioning (0.x: a minor bump may break).
0.2.0 - 2026-11-08 #
MfaThemeandMfaThemeData(light and dark defaults meeting WCAG AA), with Material and Cupertino adapters inmaterial.dartandcupertino.dart.MfaLocalizations(English, Hindi, Arabic). Widgets fall back to English when the delegate is not registered;mfaStrings(context)gives custom builders the same fallback.OtpCodeField: one accessible text field drawn as digit boxes, with paste, one-time-code autofill, numeric keyboard and announced errors.OtpCodeDisplay(grouped, read digit by digit, tap to copy, hidden mode),OtpCountdownRingandMfaStatusBadge(icon and text).OtpAccountTileandOtpAccountList(driven byMfaClient.watchAccounts()).MfaPressable: keyboard-reachable tap target (Tab, Enter or Space, focus outline) used by every interactive part of these widgets.EnrollmentQrView: enrolment QR code, grouped setup key with opt-in copy, privacy warning.
0.1.0-dev.1 #
- Initial package skeleton (not yet published).
