verisync 0.1.2 verisync: ^0.1.2 copied to clipboard
Verisync simplifies KYC for clients and customers. It's easy to integrate into Flutter projects and supports IOS, Android, Windows, and Web.
import 'dart:async';
import 'package:flutter/material.dart';
/// import 'package:verisync/verisync.dart' as [verisync];
/// or import 'package:verisync/verisync.dart';
import 'package:verisync/verisync.dart';
Future main() async {
runApp(const MaterialApp(home: MyApp()));
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Verisync Example'),
),
body: SizedBox(
width: MediaQuery.of(context).size.width,
child: const Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
VerisyncButton(
flowId: "<your flowId>",
redirectUrl: "your redirectUrl",
clientId: "your clientId",
),
],
),
));
}
}