ConsentLayerUIConfig constructor

ConsentLayerUIConfig({
  1. CMPPosition position = CMPPosition.fullScreen,
  2. CMPBackgroundStyle backgroundStyle = CMPBackgroundStyle.dimmed,
  3. double cornerRadius = 0.0,
  4. bool respectsSafeArea = true,
  5. bool allowsOrientationChanges = true,
  6. Color? backgroundColor,
  7. double? backgroundOpacity,
  8. Rect? customPosition,
})

Implementation

ConsentLayerUIConfig({
  this.position = CMPPosition.fullScreen,
  this.backgroundStyle = CMPBackgroundStyle.dimmed,
  this.cornerRadius = 0.0,
  this.respectsSafeArea = true,
  this.allowsOrientationChanges = true,
  this.backgroundColor,
  this.backgroundOpacity,
  this.customPosition,
});