webotp_autofill 0.0.3 webotp_autofill: ^0.0.3 copied to clipboard
The WebOTP API provides a streamlined user experience for web apps to verify that a phone number belongs to a user when using it as a sign-in factor. WebOTP is an extension of the Credential Management API
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add webotp_autofill
With Flutter:
$ flutter pub add webotp_autofill
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
webotp_autofill: ^0.0.3
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:webotp_autofill/webotp_autofill.dart';