StickyNode constructor

StickyNode({
  1. String? type,
  2. TextSublayerNode? text,
  3. bool? authorVisible,
  4. String? authorName,
  5. bool? isWideWidth,
  6. StickyNode clone()?,
  7. Object? fills,
  8. Object? fillStyleId,
  9. Future<void> setFillStyleIdAsync(
    1. String
    )?,
  10. num? opacity,
  11. BlendMode? blendMode,
})

Implementation

factory StickyNode({
  _i2.String? type,
  _i3.TextSublayerNode? text,
  _i2.bool? authorVisible,
  _i2.String? authorName,
  _i2.bool? isWideWidth,
  _i3.StickyNode Function()? clone,
  _i2.Object? fills,
  _i2.Object? fillStyleId,
  _i2.Future<void> Function(_i2.String)? setFillStyleIdAsync,
  _i2.num? opacity,
  _i3.BlendMode? blendMode,
}) =>
    StickyNode._(
      type: type,
      text: text ?? _i7.undefined,
      authorVisible: authorVisible,
      authorName: authorName,
      isWideWidth: isWideWidth,
      clone: clone == null ? null : _i5.allowInterop(clone),
      fills: fills ?? _i7.undefined,
      fillStyleId: fillStyleId ?? _i7.undefined,
      setFillStyleIdAsync: setFillStyleIdAsync == null
          ? null
          : _i5.allowInterop(setFillStyleIdAsync),
      opacity: opacity,
      blendMode: blendMode?.name ?? _i7.undefined,
    );