validate_phone_number

Creator: coderz1093

Last updated:

0 purchases

validate_phone_number Image
validate_phone_number Images

Languages

Categories

Add to Cart

Description:

validate phone number

Features #
It is a simple textformfield that allows us to validate the mobile number length based on country code. We can customize it as we need.
Getting started #
To use this package:
Run this command:
flutter pub add validate_phone_number
copied to clipboard
Or, add the following to your pubspec.yaml file:
dependencies:
validate_phone_number: ^0.0.1
copied to clipboard
Usage #
Import it
Now in your Dart code, you can use:
import 'package:validate_phone_number/validate_phone_number.dart';
copied to clipboard
How to Use
Simply create a IntlPhoneField widget, and pass the required params:
ValidatePhoneNumber(
countryCode: 'IN',
phoneNumber: "1234567890"
);
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.