CookieConsentButton constructor

const CookieConsentButton({
  1. required void onPressed(),
  2. required String? label,
  3. IconData? icon,
  4. bool useCupertino = false,
  5. bool isPrimary = false,
  6. bool isDestructive = false,
  7. Key? key,
})

Implementation

const CookieConsentButton({
  required this.onPressed,
  required this.label,
  this.icon,
  this.useCupertino = false,
  this.isPrimary = false,
  this.isDestructive = false,
  super.key,
});