truconsent_consent_notice_flutter 0.1.2
truconsent_consent_notice_flutter: ^0.1.2 copied to clipboard
Flutter SDK for TruConsent consent banner. This package provides native Flutter widgets for displaying and managing consent banners in Flutter applications.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add truconsent_consent_notice_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
truconsent_consent_notice_flutter: ^0.1.2Alternatively, 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:truconsent_consent_notice_flutter/tru_consent.dart';
import 'package:truconsent_consent_notice_flutter/truconsent_consent_banner_flutter.dart';