bvn_selfie_pk 0.0.1 bvn_selfie_pk: ^0.0.1 copied to clipboard
A plugin for liveness check.
example/lib/main.dart
import 'package:bvn_selfie_pk_example/verification_sreen.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const App());
}
class App extends StatefulWidget {
const App({super.key});
@override
State<App> createState() => _AppState();
}
class _AppState extends State<App> {
@override
Widget build(BuildContext context) {
return const MaterialApp(home: MyApp());
}
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: ElevatedButton(
child: const Text("Sxtart Service"),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => const VerificationScreen()));
},
)),
);
}
}