secure_privacy_mobile_consent 0.2.2
secure_privacy_mobile_consent: ^0.2.2 copied to clipboard
A Flutter plugin for the Secure Privacy Mobile Consent SDK. It helps apps display consent banners, capture user choices, and manage compliance with regional privacy regulations (GDPR, CCPA, etc.).
example/lib/main.dart
import 'package:flutter/cupertino.dart';
import 'package:secure_privacy_mobile_consent_example/main_screen.dart';
import 'package:secure_privacy_mobile_consent_example/support/sp_styles.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return CupertinoApp(home: MainScreen(), theme: SPCupertinoStyles.appTheme);
}
}