NiceConsentPanel constructor

const NiceConsentPanel({
  1. Key? key,
  2. required List<NiceConsentCategory> categories,
  3. ValueChanged<List<NiceConsentCategory>>? onChanged,
  4. VoidCallback? onAcceptAll,
  5. VoidCallback? onRejectAll,
  6. VoidCallback? onSave,
  7. String title = 'Privacy Settings',
  8. String? description,
})

Implementation

const NiceConsentPanel({
  super.key,
  required this.categories,
  this.onChanged,
  this.onAcceptAll,
  this.onRejectAll,
  this.onSave,
  this.title = 'Privacy Settings',
  this.description,
});