myid 1.0.1 copy "myid: ^1.0.1" to clipboard
myid: ^1.0.1 copied to clipboard

Unique tool for easy and secure biometric facial identification

example/lib/main.dart

import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
import 'package:myid/myid.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String _platformVersion = 'Unknown';
  final _myidPlugin = MyIdClient();

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            TextButton(
              onPressed: () {
                _myidPlugin.startSdk();
              },
              child: const Text("Run myID SDK"),
            ),
            Text('Running on: $_platformVersion\n'),
          ],
        ),
      ),
    );
  }
}
21
likes
0
pub points
83%
popularity

Publisher

unverified uploader

Unique tool for easy and secure biometric facial identification

Repository

License

unknown (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on myid