Features
Verify the documents & liveliness
Usage
To use this plugin, add instafido_sdk as a dependency in your pubspec.yaml file.
Examples Here are small examples that show you how to use the API.
import 'package:flutter/material.dart';
import 'package:instafido/instafido.dart';
class SampleScreen extends StatefulWidget {
const SampleScreen({Key? key}) : super(key: key);
@override
State<SampleScreen> createState() => _SampleScreenState();
}
class _SampleScreenState extends State<SampleScreen> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title:const Text("sample app screen"),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
//CustomButton(child:const Text('instafido'),onPressed: (){},),
ElevatedButton(
onPressed: () async {
final response= await InstafidoSdk.start(token:tokenVal,
country: InstaFidoCountries.india,
context: context);
},
child: const Text(
'go to instafido',
),
),
],
),
),
);
}
}
Libraries
- core/api_network
- core/checkImageSize
- core/dio_helper
- core/exit_function
- core/firebase_network
- core/get_device_info
- core/http_network
- core/model
- core/notifier
- core/utils
- face_verify/face_veriy
- face_verify/face_vrify_submit
- face_verify/livenessFlow
- id_card/back_cam
- id_card/back_verify
- id_card/choose_country
- id_card/choose_document
- id_card/choose_method
- id_card/front_cam
- id_card/id_no
- id_card/otp_verify
- id_card/verify_front_doc
- instafido
- kyc_submit
- liveness/face_cam
- steps_screen
- success