raven_bvn_ver 1.0.4 copy "raven_bvn_ver: ^1.0.4" to clipboard
raven_bvn_ver: ^1.0.4 copied to clipboard

discontinued
PlatformAndroidiOS

A flutter package for bvn verification

example/lib/main.dart

// ignore_for_file: avoid_print

import 'package:flutter/material.dart';
import 'package:raven_bvn_ver/raven_bvn_verifcation.dart';

//dart pub  publish
void main() {
  runApp(const MaterialApp(home: RevenApp()));
}

class RevenApp extends StatefulWidget {
  const RevenApp({Key? key}) : super(key: key);
  @override
  State<StatefulWidget> createState() {
    return _RevenApp();
  }
}

class _RevenApp extends State<RevenApp> {
  Map<String, dynamic> value = {};

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SizedBox(
        width: double.infinity,
        child: Column(mainAxisAlignment: MainAxisAlignment.center, children: [
          const Text("Press The Button To Verify BVN"),
          ElevatedButton(
              onPressed: () async {
                try {
                  value = await RavenVer.bvnVerifcation(
                    context: context,
                    secretKey: "ZYXWVUTSRQPOMNLKJIHGFEDCBA",
                    bvn: "1000000001",
                    assetLogo: "assets/raven_logo_white.png",
                  );
                  print(value);
                } catch (ex) {
                  print(ex.toString());
                }
              },
              child: const Text("Start Verification"))
        ]),
      ),
    );
  }
}
0
likes
95
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A flutter package for bvn verification

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_image_compress, http, http_parser, mime, selfie_liveness

More

Packages that depend on raven_bvn_ver