flutter_identity_kyc 0.0.5 copy "flutter_identity_kyc: ^0.0.5" to clipboard
flutter_identity_kyc: ^0.0.5 copied to clipboard

outdated

identitypass flutter kyc package.

flutter_identity_kyc #

IdentityPass KYC Checkout flutter Wrapper

Getting Started #

Install package by adding flutter_identity_kyc to your pubspec.yaml file

KYC Widget #

FlutterIdentityKyc(
    merchantKey: "jywkldnlwoidhlwdknlwo",
    email: "test@test.com",
    firstName: "",
    lastName: "",
    userRef:"unique user ref",
    isTest:false //should be true if you want to run a test
    onCancel: (response) => {print(response)},
    onVerified: (response) => {print(response)},
    onError: (error) => print(error)),
)

Sample implementation #

import 'package:flutter/material.dart';
import 'package:flutter_identity_kyc/flutter_identity_kyc.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: const Text('IdentityPass Checkout Test'),
          ),
          body: Center(
            child: FlutterIdentityKyc(
                merchantKey: "",
                email: ",
                firstName: "",
                lastName: "",
                userRef:"",
                isTest:false,
                onCancel: (response) => {print(response)},
                onVerified: (response) => {print(response)},
                onError: (error) => print(error)),
          )),
    );
  }
}
8
likes
0
pub points
66%
popularity

Publisher

unverified uploader

identitypass flutter kyc package.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, webview_flutter

More

Packages that depend on flutter_identity_kyc