guardlinesdk 0.1.2
guardlinesdk: ^0.1.2 copied to clipboard
Project integration Guardline SDK and API.
example/lib/main.dart
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:guardlinesdk/guardlinepage.dart';
void main() {
// Ensure DemoApp is defined in ../clientsdk/DemoApp.dart and imported correctly
const token =
'[YOUR TOKEN HERE]';
runApp(
GuardlinePage(
token, // Replace with your actual token
primaryColor: Colors.blueAccent,
onResult: (String session) {
if (kDebugMode) {
print(session);
}
},
),
);
}