phone_otp_verification 1.0.1
phone_otp_verification: ^1.0.1 copied to clipboard
This Flutter package is a comprehensive solution designed for applications requiring country selection with phone codes and OTP (One-Time Password) verification. It offers a seamless and efficient use [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add phone_otp_verificationWith Flutter:
$ flutter pub add phone_otp_verificationThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
phone_otp_verification: ^1.0.1Alternatively, 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:phone_otp_verification/data/countries_list.dart';
import 'package:phone_otp_verification/models/country_model.dart';
import 'package:phone_otp_verification/phone_verification.dart';