CookieConsentStyle constructor

const CookieConsentStyle({
  1. Color? backgroundColor,
  2. TextStyle? titleStyle,
  3. TextStyle? messageStyle,
  4. ButtonStyle? acceptButtonStyle,
  5. ButtonStyle? declineButtonStyle,
  6. ButtonStyle? settingsButtonStyle,
  7. EdgeInsets contentPadding = const EdgeInsets.all(16),
  8. double spacingBetweenElements = 8,
})

Implementation

const CookieConsentStyle({
  this.backgroundColor,
  this.titleStyle,
  this.messageStyle,
  this.acceptButtonStyle,
  this.declineButtonStyle,
  this.settingsButtonStyle,
  this.contentPadding = const EdgeInsets.all(16),
  this.spacingBetweenElements = 8,
});