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

identitypass flutter kyc package.

example/lib/main.dart

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: "rvnn3ingodoed5ouy0z4:Cq_dXaVYS6F_R5HOQetA6HcLqKw",
                email: "olayiwolakayode078@gmail.com",
                firstName: "kayode",
                lastName: "olayiwola",
                isTest: true,
                userRef: "ddddd",
                onCancel: (response) {
                  print(response);
                },
                onVerified: (response) {
                  print(response);
                },
                onError: (error) => print(error)),
          )),
    );
  }
}
8
likes
0
pub points
69%
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