onetrust_publishers_native_cmp 202403.2.0 onetrust_publishers_native_cmp: ^202403.2.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 Dart:
$ dart pub add onetrust_publishers_native_cmp
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 dart pub get
):
dependencies:
onetrust_publishers_native_cmp: ^202403.2.0
Alternatively, your editor might support dart pub get
or 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';