meriid_kyc 0.0.4 copy "meriid_kyc: ^0.0.4" to clipboard
meriid_kyc: ^0.0.4 copied to clipboard

meri id direct video kyc.

Meriid Kyc #

used to do the video kyc in web app directly

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  meriid_kyc: ^0.0.2
  1. Import the package and use it in your Flutter App.
import 'package:meriid_kyc/meriid_kyc.dart';

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,
        ),
      ),
    );
  }
}
group video calling 1 group video calling 2

Next Goals #

  • ✅ Add onTap for functions. Now, you can specify the onTap and specify a function.
0
likes
100
pub points
0%
popularity

Publisher

unverified uploader

meri id direct video kyc.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, webview_flutter

More

Packages that depend on meriid_kyc