aadhaar_kyc_flutter 0.0.4
aadhaar_kyc_flutter: ^0.0.4 copied to clipboard
A Flutter plugin which helps you to aadhaar kyc to your app.
import 'package:aadhaar_kyc_flutter/aadhaar_kyc_flutter.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Adhaar Kyc Demo',
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: const Color.fromARGB(255, 3, 44, 77),
title: const Text('Aadhaar Kyc'),
centerTitle: false,
),
body: const AadhaarKyc(
apiKey: 'Your API Key',
),
);
}
}