verumgrid_sdk 1.2.0
verumgrid_sdk: ^1.2.0 copied to clipboard
Flutter SDK for integrating VerumGrid identity verification and device intelligence seamlessly.
example/main.dart
import 'package:flutter/material.dart';
import 'package:verumgrid_sdk/verumgrid_sdk.dart';
void main() {
runApp(const VerumGridExampleApp());
}
class VerumGridExampleApp extends StatelessWidget {
const VerumGridExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'VerumGrid SDK Example',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.indigo),
useMaterial3: true,
),
home: const HomeScreen(),
);
}
}
class HomeScreen extends StatelessWidget {
const HomeScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('VerumGrid Identity Verification'),
),
body: Center(
child: ElevatedButton(
onPressed: () {
VerumGridSdk.start(
context,
workflowId: 'your_workflow_id_here',
name: 'Jane Doe',
email: 'jane.doe@example.com',
phoneNumber: '+1234567890',
);
},
child: const Text('Start Verification Flow'),
),
),
);
}
}