BlendMixin constructor
BlendMixin({})
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,
);