onetrust_publishers_native_cmp 6.39.0 onetrust_publishers_native_cmp: ^6.39.0 copied to clipboard
OneTrust is the leading Consent Management Platform (CMP) for mobile applications, websites, and Connected TVs. This plugin allows your application to leverage OneTrust's SDK for consent collection in [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add onetrust_publishers_native_cmp
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
onetrust_publishers_native_cmp: ^6.39.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:onetrust_publishers_native_cmp/onetrust_publishers_native_cmp.dart';