privy_flutter 0.10.1
privy_flutter: ^0.10.1 copied to clipboard
Privy Flutter SDK enables seamless authentication, wallet management, and identity verification for Flutter apps with native iOS and Android support.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:privy_flutter_example/app.dart';
import 'package:privy_flutter_example/designsystem/privy_theme.dart';
void main() {
runApp(const MyPrivyApp());
}
class MyPrivyApp extends StatelessWidget {
const MyPrivyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: "Privy Auth Example",
debugShowCheckedModeBanner: false,
theme: PrivyTheme.light,
darkTheme: PrivyTheme.dark,
home: const AppScreen(), // Ensure this is wrapped inside MaterialApp
);
}
}