Skip to main content

bd_phone_validator 1.1.0 copy "bd_phone_validator: ^1.1.0" to clipboard
bd_phone_validator: ^1.1.0 copied to clipboard

Validate, normalize, format and detect the operator (Grameenphone, Robi, Banglalink, Teletalk, Airtel) of Bangladeshi mobile numbers. Pure Dart, zero dependencies.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add bd_phone_validator

With Flutter:

 $ flutter pub add bd_phone_validator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  bd_phone_validator: ^1.1.0

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:bd_phone_validator/bd_phone_validator.dart';
3
likes
160
points
134
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Validate, normalize, format and detect the operator (Grameenphone, Robi, Banglalink, Teletalk, Airtel) of Bangladeshi mobile numbers. Pure Dart, zero dependencies.

Repository (GitHub)
View/report issues
Contributing

Topics

#bangladesh #phone #validator #validation

License

MIT (license)

More

Packages that depend on bd_phone_validator