ZegoBeautyPluginConfig constructor

ZegoBeautyPluginConfig({
  1. List<ZegoBeautyPluginEffectsType>? effectsTypes,
  2. ZegoBeautyPluginInnerText? innerText,
  3. ZegoBeautyPluginUIConfig? uiConfig,
  4. String? segmentationBackgroundImageName,
  5. ZegoBeautyPluginSegmentationScaleMode segmentationScaleMode = ZegoBeautyPluginSegmentationScaleMode.aspectFill,
  6. bool enableFaceDetection = false,
  7. String license()?,
})

Implementation

ZegoBeautyPluginConfig({
  List<ZegoBeautyPluginEffectsType>? effectsTypes,
  ZegoBeautyPluginInnerText? innerText,
  ZegoBeautyPluginUIConfig? uiConfig,
  this.segmentationBackgroundImageName,
  this.segmentationScaleMode =
      ZegoBeautyPluginSegmentationScaleMode.aspectFill,
  this.enableFaceDetection = false,
  this.license,
}) {
  this.effectsTypes = effectsTypes ?? allEffectsTypes();
  this.innerText = innerText ?? ZegoBeautyPluginInnerText();
  this.uiConfig = uiConfig ?? ZegoBeautyPluginUIConfig();
}