NudgeCloseButtonConfig constructor

const NudgeCloseButtonConfig({
  1. double marginTop = 12,
  2. double marginRight = 12,
  3. Color backgroundColor = const Color(0x14000000),
  4. Color iconColor = const Color(0xFF66667A),
  5. double iconSize = 16,
  6. NudgeClosePlacement? placement,
  7. CampaignColor? canvasBackgroundColor,
  8. CampaignColor? canvasIconColor,
})

Implementation

const NudgeCloseButtonConfig({
  this.marginTop = 12,
  this.marginRight = 12,
  this.backgroundColor = const Color(0x14000000),
  this.iconColor = const Color(0xFF66667A),
  this.iconSize = 16,
  this.placement,
  this.canvasBackgroundColor,
  this.canvasIconColor,
});