BlendMixin constructor

BlendMixin({
  1. bool? isMask,
  2. MaskType? maskType,
  3. ReadonlyArray<Object>? effects,
  4. String? effectStyleId,
  5. Future<void> setEffectStyleIdAsync(
    1. String
    )?,
  6. num? opacity,
  7. BlendMode? blendMode,
})

Implementation

factory BlendMixin({
  _i2.bool? isMask,
  _i3.MaskType? maskType,
  _i4.ReadonlyArray<_i2.Object>? effects,
  _i2.String? effectStyleId,
  _i2.Future<void> Function(_i2.String)? setEffectStyleIdAsync,
  _i2.num? opacity,
  _i3.BlendMode? blendMode,
}) =>
    BlendMixin._(
      isMask: isMask,
      maskType: maskType?.name ?? _i7.undefined,
      effects: effects ?? _i7.undefined,
      effectStyleId: effectStyleId,
      setEffectStyleIdAsync: setEffectStyleIdAsync == null
          ? null
          : _i5.allowInterop(setEffectStyleIdAsync),
      opacity: opacity,
      blendMode: blendMode?.name ?? _i7.undefined,
    );