NiceConsentPanel constructor

const NiceConsentPanel({
  1. Key? key,
  2. required List<NiceConsentItem> items,
  3. void onSave(
    1. List<NiceConsentItem> items
    )?,
  4. VoidCallback? onClose,
  5. String title = 'Privacy Settings',
  6. String? description,
  7. NiceConsentVariant variant = NiceConsentVariant.panel,
})

Implementation

const NiceConsentPanel({
  super.key,
  required this.items,
  this.onSave,
  this.onClose,
  this.title = 'Privacy Settings',
  this.description,
  this.variant = NiceConsentVariant.panel,
});