Last updated:
0 purchases
meriid kyc
Meriid Kyc #
used to do the video kyc in web app directly
Installation #
Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
meriid_kyc: ^0.0.2
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:meriid_kyc/meriid_kyc.dart';
copied to clipboard
Example #
There are a number of properties that you can modify:
url
appbarBackgroundColor
class MeriidKyc extends StatefulWidget {
String url;
Color appbarBackgroundColor;
MeriidKyc({
this.url = "https://admin-meriid.web.app/admin/login" , this.appbarBackgroundColor = Colors.blue
});
@override
State<MeriidKyc> createState() => _MeriidKycState();
}
class _MeriidKycState extends State<MeriidKyc> {
@override
void initState() {
super.initState();
if (Platform.isAndroid) WebView.platform = AndroidWebView();
}
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
appBar: AppBar(
actions: [],
backgroundColor: widget.appbarBackgroundColor,
),
body: WebView(
initialUrl: widget.url,
),
),
);
}
}
copied to clipboard
Next Goals #
✅ Add onTap for functions.
Now, you can specify the onTap and specify a function.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.