ConsentLayerUIConfig constructor
ConsentLayerUIConfig({
- CMPPosition position = CMPPosition.fullScreen,
- CMPBackgroundStyle backgroundStyle = CMPBackgroundStyle.dimmed,
- double cornerRadius = 0.0,
- bool respectsSafeArea = true,
- bool allowsOrientationChanges = true,
- Color? backgroundColor,
- double? backgroundOpacity,
- 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,
});