Prembly_flutter can be use for more than 4 Africa countries verification which include Nigeria, Ghana, South Africa, Uganda, Kenya, Sierra Leone and Rwanda.
## Prembly_flutter
Verify your user or customers with prembly_flutter, it's easy to use.
## Features
Prembly_flutter can be use for more than 4 Africa countries verification which include Nigeria, Ghana, South Africa, Uganda, Kenya, Sierra Leone and Rwanda.
## Getting started
Get started by installing prembly_flutter by following the instruction below.
## Install
Run the following command in your project directory:
`pub get prembly_flutter`
## Get Started
After prembly_flutter has been installed, you should initialize the prembly_flutter plugin in your ```main.dart``` file.
```
void main() {
// Initializing prembly plugin
PremblyPlugin.initialize(
appId: "YOUR_APP_ID_FROM_PREMBLY",
apiKey: "YOUR_API_KEY_FROM_PREMBLY",
).then((_) {
return runApp(const MyApp());
});
}
```
Your can get the `App_ID` and `Api-key` from prembly.com.
## Usage
Visit example/lib/main.dart to see some short and useful examples of prembly_flutter and how to use them. Below are some examples:
### Examples
### Global
```
// Email verification
void verifyEmail() async {
var response = await premblyPlugin
.emailVerifier("test@whitecoode.com");
print(response);
}
```
### Nigeria
```
// Nigeria Plate Number verification
void verifyPlateNumber() async {
var response = await premblyPlugin
.ngPlateNumberVerifier("AA0000000");
print(response);
}
// Nigeria BVN Number 2.0 verification
void verifyBvnNumber() async {
var response = await premblyPlugin
.ngBvnNumberVerifier("54651333604");
print(response);
}
```
### Ghana
```
// Ghana International Passport verification
void verifyInternationalPassport() async {
var response = await premblyPlugin
.ghVerifyInternationalPassport(number: "G0000575");
print(response);
}
// Ghana Voters Card verification
void verifyVoter() async {
var response = await premblyPlugin
.ghVerifyVoters(number: "9001332866",type: "Main");
print(response);
}
```
### Uganda
```
// Uganda Business verification
void verifyBusiness() async {
var response = await premblyPlugin
.u …