genotp_flutter 0.0.4
genotp_flutter: ^0.0.4 copied to clipboard
TOTP/HOTP one-time password plugin for Flutter, powered by genotp-go via gomobile. Works on Android and iOS with no network dependency.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add genotp_flutterWith Flutter:
$ flutter pub add genotp_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
genotp_flutter: ^0.0.4Alternatively, 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:genotp_flutter/genotp_flutter.dart';