BaseFrameMixin constructor

BaseFrameMixin({
  1. Object? detachedInfo,
  2. ReadonlyArray<Object>? layoutGrids,
  3. String? gridStyleId,
  4. bool? clipsContent,
  5. ReadonlyArray<Guide>? guides,
  6. InferredAutoLayoutResult? inferredAutoLayout,
  7. Future<void> setGridStyleIdAsync(
    1. String
    )?,
  8. String? id,
  9. _Intersection7? parent,
  10. String? name,
  11. bool? removed,
  12. bool? isAsset,
  13. String toString$()?,
  14. void remove()?,
  15. void setRelaunchData(
    1. Object
    )?,
  16. Object getRelaunchData()?,
  17. Future<Object> getCSSAsync()?,
  18. FrameNode? getTopLevelFrame()?,
  19. bool? visible,
  20. bool? locked,
  21. List<SceneNode>? stuckNodes,
  22. List<ConnectorNode>? attachedConnectors,
  23. dynamic componentPropertyReferences,
  24. _Intersection8? boundVariables,
  25. _Intersection9? inferredVariables,
  26. Object? resolvedVariableModes,
  27. ReadonlyArray<SceneNode>? children,
  28. void appendChild(
    1. SceneNode
    )?,
  29. void insertChild(
    1. num,
    2. SceneNode
    )?,
  30. List<SceneNode> findChildren([
    1. bool (
      1. SceneNode
      )?
    ])?,
  31. SceneNode? findChild(
    1. bool (
      1. SceneNode
      )
    )?,
  32. List<SceneNode> findAll([
    1. bool (
      1. SceneNode
      )?
    ])?,
  33. SceneNode? findOne(
    1. bool (
      1. SceneNode
      )
    )?,
  34. Array<Object> findAllWithCriteria<T extends List>(
    1. FindAllCriteria<T>
    )?,
  35. Array<WidgetNode> findWidgetNodesByWidgetId(
    1. String
    )?,
  36. bool? expanded,
  37. ReadonlyArray<Object>? backgrounds,
  38. String? backgroundStyleId,
  39. Object? strokeCap,
  40. num? strokeMiterLimit,
  41. VectorPaths? fillGeometry,
  42. VectorNode? outlineStroke()?,
  43. Object? cornerRadius,
  44. num? cornerSmoothing,
  45. num? topLeftRadius,
  46. num? topRightRadius,
  47. num? bottomLeftRadius,
  48. num? bottomRightRadius,
  49. bool? isMask,
  50. MaskType? maskType,
  51. ReadonlyArray<Object>? effects,
  52. String? effectStyleId,
  53. Future<void> setEffectStyleIdAsync(
    1. String
    )?,
  54. Constraints? constraints,
  55. Rect? absoluteRenderBounds,
  56. bool? constrainProportions,
  57. num? rotation,
  58. LayoutSizingHorizontal? layoutSizingHorizontal,
  59. LayoutSizingVertical? layoutSizingVertical,
  60. void resize(
    1. num,
    2. num
    )?,
  61. void resizeWithoutConstraints(
    1. num,
    2. num
    )?,
  62. void rescale(
    1. num
    )?,
  63. ReadonlyArray<Object>? exportSettings,
  64. num? strokeTopWeight,
  65. num? strokeBottomWeight,
  66. num? strokeLeftWeight,
  67. num? strokeRightWeight,
  68. LayoutMode? layoutMode,
  69. LayoutWrap? layoutWrap,
  70. num? paddingLeft,
  71. num? paddingRight,
  72. num? paddingTop,
  73. num? paddingBottom,
  74. num? horizontalPadding,
  75. num? verticalPadding,
  76. PrimaryAxisSizingMode? primaryAxisSizingMode,
  77. CounterAxisSizingMode? counterAxisSizingMode,
  78. PrimaryAxisAlignItems? primaryAxisAlignItems,
  79. CounterAxisAlignItems? counterAxisAlignItems,
  80. CounterAxisAlignContent? counterAxisAlignContent,
  81. num? itemSpacing,
  82. num? counterAxisSpacing,
  83. bool? itemReverseZIndex,
  84. bool? strokesIncludedInLayout,
  85. Vector? targetAspectRatio,
  86. void lockAspectRatio()?,
  87. void unlockAspectRatio()?,
  88. ReadonlyArray<Annotation>? annotations,
  89. DevStatus? devStatus,
})

Implementation

factory BaseFrameMixin({
  _i2.Object? detachedInfo,
  _i4.ReadonlyArray<_i2.Object>? layoutGrids,
  _i2.String? gridStyleId,
  _i2.bool? clipsContent,
  _i4.ReadonlyArray<_i3.Guide>? guides,
  _i3.InferredAutoLayoutResult? inferredAutoLayout,
  _i2.Future<void> Function(_i2.String)? setGridStyleIdAsync,
  _i2.String? id,
  _Intersection7? parent,
  _i2.String? name,
  _i2.bool? removed,
  _i2.bool? isAsset,
  _i2.String Function()? toString$,
  void Function()? remove,
  void Function(_i2.Object)? setRelaunchData,
  _i2.Object Function()? getRelaunchData,
  _i2.Future<_i2.Object> Function()? getCSSAsync,
  _i3.FrameNode? Function()? getTopLevelFrame,
  _i2.bool? visible,
  _i2.bool? locked,
  _i2.List<_i3.SceneNode>? stuckNodes,
  _i2.List<_i3.ConnectorNode>? attachedConnectors,
  _i2.dynamic componentPropertyReferences,
  _Intersection8? boundVariables,
  _Intersection9? inferredVariables,
  _i2.Object? resolvedVariableModes,
  _i4.ReadonlyArray<_i3.SceneNode>? children,
  void Function(_i3.SceneNode)? appendChild,
  void Function(
    _i2.num,
    _i3.SceneNode,
  )? insertChild,
  _i2.List<_i3.SceneNode> Function([_i2.bool Function(_i3.SceneNode)?])?
      findChildren,
  _i3.SceneNode? Function(_i2.bool Function(_i3.SceneNode))? findChild,
  _i2.List<_i3.SceneNode> Function([_i2.bool Function(_i3.SceneNode)?])?
      findAll,
  _i3.SceneNode? Function(_i2.bool Function(_i3.SceneNode))? findOne,
  _i4.Array<_i2.Object> Function<T extends _i2.List<_i2.dynamic>>(
          _i3.FindAllCriteria<T>)?
      findAllWithCriteria,
  _i4.Array<_i3.WidgetNode> Function(_i2.String)? findWidgetNodesByWidgetId,
  _i2.bool? expanded,
  _i4.ReadonlyArray<_i2.Object>? backgrounds,
  _i2.String? backgroundStyleId,
  _i2.Object? strokeCap,
  _i2.num? strokeMiterLimit,
  _i3.VectorPaths? fillGeometry,
  _i3.VectorNode? Function()? outlineStroke,
  _i2.Object? cornerRadius,
  _i2.num? cornerSmoothing,
  _i2.num? topLeftRadius,
  _i2.num? topRightRadius,
  _i2.num? bottomLeftRadius,
  _i2.num? bottomRightRadius,
  _i2.bool? isMask,
  _i3.MaskType? maskType,
  _i4.ReadonlyArray<_i2.Object>? effects,
  _i2.String? effectStyleId,
  _i2.Future<void> Function(_i2.String)? setEffectStyleIdAsync,
  _i3.Constraints? constraints,
  _i3.Rect? absoluteRenderBounds,
  _i2.bool? constrainProportions,
  _i2.num? rotation,
  _i3.LayoutSizingHorizontal? layoutSizingHorizontal,
  _i3.LayoutSizingVertical? layoutSizingVertical,
  void Function(
    _i2.num,
    _i2.num,
  )? resize,
  void Function(
    _i2.num,
    _i2.num,
  )? resizeWithoutConstraints,
  void Function(_i2.num)? rescale,
  _i4.ReadonlyArray<_i2.Object>? exportSettings,
  _i2.num? strokeTopWeight,
  _i2.num? strokeBottomWeight,
  _i2.num? strokeLeftWeight,
  _i2.num? strokeRightWeight,
  _i3.LayoutMode? layoutMode,
  _i3.LayoutWrap? layoutWrap,
  _i2.num? paddingLeft,
  _i2.num? paddingRight,
  _i2.num? paddingTop,
  _i2.num? paddingBottom,
  _i2.num? horizontalPadding,
  _i2.num? verticalPadding,
  _i3.PrimaryAxisSizingMode? primaryAxisSizingMode,
  _i3.CounterAxisSizingMode? counterAxisSizingMode,
  _i3.PrimaryAxisAlignItems? primaryAxisAlignItems,
  _i3.CounterAxisAlignItems? counterAxisAlignItems,
  _i3.CounterAxisAlignContent? counterAxisAlignContent,
  _i2.num? itemSpacing,
  _i2.num? counterAxisSpacing,
  _i2.bool? itemReverseZIndex,
  _i2.bool? strokesIncludedInLayout,
  _i3.Vector? targetAspectRatio,
  void Function()? lockAspectRatio,
  void Function()? unlockAspectRatio,
  _i4.ReadonlyArray<_i3.Annotation>? annotations,
  _i3.DevStatus? devStatus,
}) =>
    BaseFrameMixin._(
      detachedInfo: detachedInfo ?? _i7.undefined ?? _i7.undefined,
      layoutGrids: layoutGrids ?? _i7.undefined,
      gridStyleId: gridStyleId,
      clipsContent: clipsContent,
      guides: guides ?? _i7.undefined,
      inferredAutoLayout: inferredAutoLayout ?? _i7.undefined,
      setGridStyleIdAsync: setGridStyleIdAsync == null
          ? null
          : _i5.allowInterop(setGridStyleIdAsync),
      id: id,
      parent: parent ?? _i7.undefined,
      name: name,
      removed: removed,
      isAsset: isAsset,
      toString$: toString$ == null ? null : _i5.allowInterop(toString$),
      remove: remove == null ? null : _i5.allowInterop(remove),
      setRelaunchData:
          setRelaunchData == null ? null : _i5.allowInterop(setRelaunchData),
      getRelaunchData:
          getRelaunchData == null ? null : _i5.allowInterop(getRelaunchData),
      getCSSAsync: getCSSAsync == null ? null : _i5.allowInterop(getCSSAsync),
      getTopLevelFrame: getTopLevelFrame == null
          ? null
          : _i5.allowInterop(() => () => getTopLevelFrame() ?? _i7.undefined),
      visible: visible,
      locked: locked,
      stuckNodes: stuckNodes,
      attachedConnectors: attachedConnectors,
      componentPropertyReferences: componentPropertyReferences,
      boundVariables: boundVariables ?? _i7.undefined,
      inferredVariables: inferredVariables ?? _i7.undefined,
      resolvedVariableModes: resolvedVariableModes ?? _i7.undefined,
      children: children ?? _i7.undefined,
      appendChild: appendChild == null ? null : _i5.allowInterop(appendChild),
      insertChild: insertChild == null ? null : _i5.allowInterop(insertChild),
      findChildren:
          findChildren == null ? null : _i5.allowInterop(findChildren),
      findChild: findChild == null
          ? null
          : _i5.allowInterop(
              (p0) => () => findChild(p0) ?? _i7.undefined ?? _i7.undefined),
      findAll: findAll == null ? null : _i5.allowInterop(findAll),
      findOne: findOne == null
          ? null
          : _i5.allowInterop(
              (p0) => () => findOne(p0) ?? _i7.undefined ?? _i7.undefined),
      findAllWithCriteria: findAllWithCriteria == null
          ? null
          : _i5.allowInterop(findAllWithCriteria),
      findWidgetNodesByWidgetId: findWidgetNodesByWidgetId == null
          ? null
          : _i5.allowInterop(findWidgetNodesByWidgetId),
      expanded: expanded,
      backgrounds: backgrounds ?? _i7.undefined,
      backgroundStyleId: backgroundStyleId,
      strokeCap: strokeCap ?? _i7.undefined,
      strokeMiterLimit: strokeMiterLimit,
      fillGeometry: fillGeometry ?? _i7.undefined,
      outlineStroke: outlineStroke == null
          ? null
          : _i5.allowInterop(() => () => outlineStroke() ?? _i7.undefined),
      cornerRadius: cornerRadius ?? _i7.undefined,
      cornerSmoothing: cornerSmoothing,
      topLeftRadius: topLeftRadius,
      topRightRadius: topRightRadius,
      bottomLeftRadius: bottomLeftRadius,
      bottomRightRadius: bottomRightRadius,
      isMask: isMask,
      maskType: maskType?.name ?? _i7.undefined,
      effects: effects ?? _i7.undefined,
      effectStyleId: effectStyleId,
      setEffectStyleIdAsync: setEffectStyleIdAsync == null
          ? null
          : _i5.allowInterop(setEffectStyleIdAsync),
      constraints: constraints ?? _i7.undefined,
      absoluteRenderBounds: absoluteRenderBounds ?? _i7.undefined,
      constrainProportions: constrainProportions,
      rotation: rotation,
      layoutSizingHorizontal: layoutSizingHorizontal?.name ?? _i7.undefined,
      layoutSizingVertical: layoutSizingVertical?.name ?? _i7.undefined,
      resize: resize == null ? null : _i5.allowInterop(resize),
      resizeWithoutConstraints: resizeWithoutConstraints == null
          ? null
          : _i5.allowInterop(resizeWithoutConstraints),
      rescale: rescale == null ? null : _i5.allowInterop(rescale),
      exportSettings: exportSettings ?? _i7.undefined,
      strokeTopWeight: strokeTopWeight,
      strokeBottomWeight: strokeBottomWeight,
      strokeLeftWeight: strokeLeftWeight,
      strokeRightWeight: strokeRightWeight,
      layoutMode: layoutMode?.name ?? _i7.undefined,
      layoutWrap: layoutWrap?.name ?? _i7.undefined,
      paddingLeft: paddingLeft,
      paddingRight: paddingRight,
      paddingTop: paddingTop,
      paddingBottom: paddingBottom,
      horizontalPadding: horizontalPadding,
      verticalPadding: verticalPadding,
      primaryAxisSizingMode: primaryAxisSizingMode?.name ?? _i7.undefined,
      counterAxisSizingMode: counterAxisSizingMode?.name ?? _i7.undefined,
      primaryAxisAlignItems: primaryAxisAlignItems?.name ?? _i7.undefined,
      counterAxisAlignItems: counterAxisAlignItems?.name ?? _i7.undefined,
      counterAxisAlignContent: counterAxisAlignContent?.name ?? _i7.undefined,
      itemSpacing: itemSpacing,
      counterAxisSpacing: counterAxisSpacing ?? _i7.undefined,
      itemReverseZIndex: itemReverseZIndex,
      strokesIncludedInLayout: strokesIncludedInLayout,
      targetAspectRatio: targetAspectRatio ?? _i7.undefined,
      lockAspectRatio:
          lockAspectRatio == null ? null : _i5.allowInterop(lockAspectRatio),
      unlockAspectRatio: unlockAspectRatio == null
          ? null
          : _i5.allowInterop(unlockAspectRatio),
      annotations: annotations ?? _i7.undefined,
      devStatus: devStatus ?? _i7.undefined,
    );