mo_2fa_code 0.1.1
mo_2fa_code: ^0.1.1 copied to clipboard
A customizable 2FA / OTP code input for Flutter. Set the length and cell style; get auto-advance, backspace navigation, paste and autofill for free.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mo_2fa_codeThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
mo_2fa_code: ^0.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mo_2fa_code/mo_2fa_code.dart';