facedapter_idv 0.1.1 copy "facedapter_idv: ^0.1.1" to clipboard
facedapter_idv: ^0.1.1 copied to clipboard

outdated

Facedapter is an enterprise-grade software (SaaS) solution that pioneered autonomous end-to-end ID authentication and processing. It allows its clients to rapidly and effectively verify and digitize c [...]

example/lib/main.dart

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

import 'package:flutter/services.dart';
import 'package:facedapter_idv/facedapter_idv.dart';

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

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final FacedapterIdvPlugin = FacedapterIdv();

  @override
  void initState() {
    super.initState();
    initialize();
  }

  Future<void> initialize() async {
    await FacedapterIdvPlugin.initialize("lk_dPdlsa");
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> startOnboarding() async {
    Map<dynamic, dynamic> result = {};
    // Platform messages may fail, so we use a try/catch PlatformException.
    // We also handle the message potentially returning null.
    try {
      result = await FacedapterIdvPlugin.startOnboarding() ?? {};
      print(result);
    } on PlatformException {
      // result = {};
    }
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Facedapter IDV Onboarding'),
        ),
        body: Center(
          child: TextButton(
            style: TextButton.styleFrom(
              textStyle: const TextStyle(fontSize: 20),
            ),
            onPressed: startOnboarding,
            child: const Text('Launch SDK'),
          ),
        )
      ),
    );
  }
}
1
likes
0
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

Facedapter is an enterprise-grade software (SaaS) solution that pioneered autonomous end-to-end ID authentication and processing. It allows its clients to rapidly and effectively verify and digitize consumer identities, through a multimodal, automated algorithmic approach that screens, classifies, extracts, and authenticates ID documents and matches facial images through biometric analysis.

Homepage

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on facedapter_idv

Packages that implement facedapter_idv