unified_sdk 6.0.0
unified_sdk: ^6.0.0 copied to clipboard
GDPR consent management platform (CMP) by SFBX AppConsent: show the consent notice and read IAB TCF v2 and Google Consent Mode v2 consent on Android and iOS.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'splash_screen.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Unified SDK — Bridge Tester',
debugShowCheckedModeBanner: false,
theme: ThemeData(colorSchemeSeed: Colors.indigo, useMaterial3: true),
darkTheme: ThemeData(
colorSchemeSeed: Colors.indigo,
brightness: Brightness.dark,
useMaterial3: true,
),
home: const SplashScreen(),
);
}
}