InstanceNode class

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

InstanceNode.new({String? type, ComponentNode? mainComponent, Object? componentProperties, num? scaleFactor, List<InstanceNode>? exposedInstances, bool? isExposedInstance, List<IInline92>? overrides, InstanceNode clone()?, Future<ComponentNode?> getMainComponentAsync()?, void swapComponent(ComponentNode)?, void setProperties(Object)?, FrameNode detachInstance()?, void resetOverrides()?, Object? variantProperties})
factory

Properties

absoluteBoundingBox Rect?

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

no setter
absoluteRenderBounds Rect?

Available on LayoutMixin, provided by the LayoutMixin$Typings extension

no setter
absoluteTransform Transform

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

no setter
addDevResourceAsync Future<void> Function(String, [String?])

Available on DevResourcesMixin, provided by the DevResourcesMixin$Typings extension

getter/setter pair
annotations ReadonlyArray<Annotation>

Available on AnnotationsMixin, provided by the AnnotationsMixin$Typings extension

getter/setter pair
appendChild ↔ void Function(SceneNode)

Available on ChildrenMixin, provided by the ChildrenMixin$Typings extension

getter/setter pair
attachedConnectors List<ConnectorNode>

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

no setter
backgrounds ReadonlyArray<Object>

Available on DeprecatedBackgroundMixin, provided by the DeprecatedBackgroundMixin$Typings extension

getter/setter pair
backgroundStyleId String

Available on DeprecatedBackgroundMixin, provided by the DeprecatedBackgroundMixin$Typings extension

getter/setter pair
blendMode BlendMode

Available on MinimalBlendMixin, provided by the MinimalBlendMixin$Typings extension

getter/setter pair
bottomLeftRadius num

Available on RectangleCornerMixin, provided by the RectangleCornerMixin$Typings extension

getter/setter pair
bottomRightRadius num

Available on RectangleCornerMixin, provided by the RectangleCornerMixin$Typings extension

getter/setter pair
boundVariables → _Intersection8?

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

no setter
children ReadonlyArray<SceneNode>

Available on ChildrenMixin, provided by the ChildrenMixin$Typings extension

no setter
clearExplicitVariableModeForCollection → ({void Function(String collectionId) $1, void Function(VariableCollection collection) $2})

Available on ExplicitVariableModesMixin, provided by the ExplicitVariableModesMixin$Typings extension

Overload accessor: $1, $2
no setter
clipsContent bool

Available on BaseFrameMixin, provided by the BaseFrameMixin$Typings extension

getter/setter pair
clone InstanceNode Function()

Available on InstanceNode, provided by the InstanceNode$Typings extension

getter/setter pair
componentProperties Object

Available on InstanceNode, provided by the InstanceNode$Typings extension

no setter
componentPropertyReferences ↔ dynamic

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

getter/setter pair
constrainProportions bool

Available on LayoutMixin, provided by the LayoutMixin$Typings extension

getter/setter pair
constraints Constraints

Available on ConstraintMixin, provided by the ConstraintMixin$Typings extension

getter/setter pair
cornerRadius Object

Available on CornerMixin, provided by the CornerMixin$Typings extension

getter/setter pair
cornerSmoothing num

Available on CornerMixin, provided by the CornerMixin$Typings extension

getter/setter pair
counterAxisAlignContent CounterAxisAlignContent

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
counterAxisAlignItems CounterAxisAlignItems

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
counterAxisSizingMode CounterAxisSizingMode

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
counterAxisSpacing num?

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
dashPattern ReadonlyArray<num>

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
deleteDevResourceAsync Future<void> Function(String)

Available on DevResourcesMixin, provided by the DevResourcesMixin$Typings extension

getter/setter pair
detachedInfo Object?

Available on BaseFrameMixin, provided by the BaseFrameMixin$Typings extension

no setter
detachInstance FrameNode Function()

Available on InstanceNode, provided by the InstanceNode$Typings extension

getter/setter pair
devStatus DevStatus?

Available on DevStatusMixin, provided by the DevStatusMixin$Typings extension

getter/setter pair
editDevResourceAsync Future<void> Function(String, dynamic)

Available on DevResourcesMixin, provided by the DevResourcesMixin$Typings extension

getter/setter pair
effects ReadonlyArray<Object>

Available on BlendMixin, provided by the BlendMixin$Typings extension

getter/setter pair
effectStyleId String

Available on BlendMixin, provided by the BlendMixin$Typings extension

getter/setter pair
expanded bool

Available on ContainerMixin, provided by the ContainerMixin$Typings extension

getter/setter pair
explicitVariableModes Object

Available on ExplicitVariableModesMixin, provided by the ExplicitVariableModesMixin$Typings extension

getter/setter pair
exportAsync → ({Future<Uint8List> Function([Object? settings]) $1, Future<String> Function(ExportSettingsSVGString settings) $2, Future<Object> Function(ExportSettingsREST settings) $3})

Available on ExportMixin, provided by the ExportMixin$Typings extension

Overload accessor: $1, $2, $3
no setter
exportSettings ReadonlyArray<Object>

Available on ExportMixin, provided by the ExportMixin$Typings extension

getter/setter pair
exposedInstances List<InstanceNode>

Available on InstanceNode, provided by the InstanceNode$Typings extension

no setter
fillGeometry VectorPaths

Available on GeometryMixin, provided by the GeometryMixin$Typings extension

no setter
fills Object

Available on MinimalFillsMixin, provided by the MinimalFillsMixin$Typings extension

getter/setter pair
fillStyleId Object

Available on MinimalFillsMixin, provided by the MinimalFillsMixin$Typings extension

getter/setter pair
findAll List<SceneNode> Function([bool (SceneNode)?])

Available on ChildrenMixin, provided by the ChildrenMixin$Typings extension

getter/setter pair
findAllWithCriteria Array<Object> Function<T extends List>(FindAllCriteria<T>)

Available on ChildrenMixin, provided by the ChildrenMixin$Typings extension

getter/setter pair
findChild SceneNode? Function(bool (SceneNode))

Available on ChildrenMixin, provided by the ChildrenMixin$Typings extension

getter/setter pair
findChildren List<SceneNode> Function([bool (SceneNode)?])

Available on ChildrenMixin, provided by the ChildrenMixin$Typings extension

getter/setter pair
findOne SceneNode? Function(bool (SceneNode))

Available on ChildrenMixin, provided by the ChildrenMixin$Typings extension

getter/setter pair
findWidgetNodesByWidgetId Array<WidgetNode> Function(String)

Available on ChildrenMixin, provided by the ChildrenMixin$Typings extension

getter/setter pair
getCSSAsync Future<Object> Function()

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
getDevResourcesAsync Future<List<DevResourceWithNodeId>> Function([dynamic])

Available on DevResourcesMixin, provided by the DevResourcesMixin$Typings extension

getter/setter pair
getMainComponentAsync Future<ComponentNode?> Function()

Available on InstanceNode, provided by the InstanceNode$Typings extension

getter/setter pair
getPluginData String Function(String)

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
getPluginDataKeys List<String> Function()

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
getRelaunchData Object Function()

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
getSharedPluginData String Function(String, String)

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
getSharedPluginDataKeys List<String> Function(String)

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
getTopLevelFrame FrameNode? Function()

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
gridStyleId String

Available on BaseFrameMixin, provided by the BaseFrameMixin$Typings extension

getter/setter pair
guides ReadonlyArray<Guide>

Available on BaseFrameMixin, provided by the BaseFrameMixin$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height num

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

no setter
horizontalPadding num

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
id String

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

no setter
inferredAutoLayout InferredAutoLayoutResult?

Available on BaseFrameMixin, provided by the BaseFrameMixin$Typings extension

getter/setter pair
inferredVariables → _Intersection9?

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

no setter
insertChild ↔ void Function(num, SceneNode)

Available on ChildrenMixin, provided by the ChildrenMixin$Typings extension

getter/setter pair
isAsset bool

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

no setter
isExposedInstance bool

Available on InstanceNode, provided by the InstanceNode$Typings extension

getter/setter pair
isMask bool

Available on BlendMixin, provided by the BlendMixin$Typings extension

getter/setter pair
itemReverseZIndex bool

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
itemSpacing num

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
layoutAlign LayoutAlign

Available on AutoLayoutChildrenMixin, provided by the AutoLayoutChildrenMixin$Typings extension

getter/setter pair
layoutGrids ReadonlyArray<Object>

Available on BaseFrameMixin, provided by the BaseFrameMixin$Typings extension

getter/setter pair
layoutGrow num

Available on AutoLayoutChildrenMixin, provided by the AutoLayoutChildrenMixin$Typings extension

getter/setter pair
layoutMode LayoutMode

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
layoutPositioning LayoutPositioning

Available on AutoLayoutChildrenMixin, provided by the AutoLayoutChildrenMixin$Typings extension

getter/setter pair
layoutSizingHorizontal LayoutSizingHorizontal

Available on LayoutMixin, provided by the LayoutMixin$Typings extension

getter/setter pair
layoutSizingVertical LayoutSizingVertical

Available on LayoutMixin, provided by the LayoutMixin$Typings extension

getter/setter pair
layoutWrap LayoutWrap

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
lockAspectRatio ↔ void Function()

Available on AspectRatioLockMixin, provided by the AspectRatioLockMixin$Typings extension

getter/setter pair
locked bool

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

getter/setter pair
mainComponent ComponentNode?

Available on InstanceNode, provided by the InstanceNode$Typings extension

getter/setter pair
maskType MaskType

Available on BlendMixin, provided by the BlendMixin$Typings extension

getter/setter pair
maxHeight num?

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
maxWidth num?

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
minHeight num?

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
minWidth num?

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
name String

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
numberOfFixedChildren num

Available on FramePrototypingMixin, provided by the FramePrototypingMixin$Typings extension

getter/setter pair
opacity num

Available on MinimalBlendMixin, provided by the MinimalBlendMixin$Typings extension

getter/setter pair
outlineStroke VectorNode? Function()

Available on GeometryMixin, provided by the GeometryMixin$Typings extension

getter/setter pair
overflowDirection OverflowDirection

Available on FramePrototypingMixin, provided by the FramePrototypingMixin$Typings extension

getter/setter pair
overlayBackground Object

Available on FramePrototypingMixin, provided by the FramePrototypingMixin$Typings extension

no setter
overlayBackgroundInteraction OverlayBackgroundInteraction

Available on FramePrototypingMixin, provided by the FramePrototypingMixin$Typings extension

no setter
overlayPositionType OverlayPositionType

Available on FramePrototypingMixin, provided by the FramePrototypingMixin$Typings extension

no setter
overrides List

Available on InstanceNode, provided by the InstanceNode$Typings extension

no setter
paddingBottom num

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
paddingLeft num

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
paddingRight num

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
paddingTop num

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
parent → _Intersection7?

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

no setter
primaryAxisAlignItems PrimaryAxisAlignItems

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
primaryAxisSizingMode PrimaryAxisSizingMode

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
reactions ReadonlyArray<Reaction>

Available on ReactionMixin, provided by the ReactionMixin$Typings extension

getter/setter pair
relativeTransform Transform

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
remove ↔ void Function()

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
removed bool

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

no setter
rescale ↔ void Function(num)

Available on LayoutMixin, provided by the LayoutMixin$Typings extension

getter/setter pair
resetOverrides ↔ void Function()

Available on InstanceNode, provided by the InstanceNode$Typings extension

getter/setter pair
resize ↔ void Function(num, num)

Available on LayoutMixin, provided by the LayoutMixin$Typings extension

getter/setter pair
resizeWithoutConstraints ↔ void Function(num, num)

Available on LayoutMixin, provided by the LayoutMixin$Typings extension

getter/setter pair
resolvedVariableModes Object

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

getter/setter pair
rotation num

Available on LayoutMixin, provided by the LayoutMixin$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleFactor num

Available on InstanceNode, provided by the InstanceNode$Typings extension

getter/setter pair
setBoundVariable → ({void Function(Object field, [String? variableId]) $1, void Function(Object field, [Variable? variable]) $2})

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

Overload accessor: $1, $2
no setter
setDevResourcePreviewAsync Future<void> Function(String, PlainTextElement)

Available on DevResourcesMixin, provided by the DevResourcesMixin$Typings extension

getter/setter pair
setEffectStyleIdAsync Future<void> Function(String)

Available on BlendMixin, provided by the BlendMixin$Typings extension

getter/setter pair
setExplicitVariableModeForCollection → ({void Function(String collectionId, String modeId) $1, void Function(VariableCollection collection, String modeId) $2})

Available on ExplicitVariableModesMixin, provided by the ExplicitVariableModesMixin$Typings extension

Overload accessor: $1, $2
no setter
setFillStyleIdAsync Future<void> Function(String)

Available on MinimalFillsMixin, provided by the MinimalFillsMixin$Typings extension

getter/setter pair
setGridStyleIdAsync Future<void> Function(String)

Available on BaseFrameMixin, provided by the BaseFrameMixin$Typings extension

getter/setter pair
setPluginData ↔ void Function(String, String)

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
setProperties ↔ void Function(Object)

Available on InstanceNode, provided by the InstanceNode$Typings extension

getter/setter pair
setReactionsAsync Future<void> Function(Array<Reaction>)

Available on ReactionMixin, provided by the ReactionMixin$Typings extension

getter/setter pair
setRelaunchData ↔ void Function(Object)

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
setSharedPluginData ↔ void Function(String, String, String)

Available on PluginDataMixin, provided by the PluginDataMixin$Typings extension

getter/setter pair
setStrokeStyleIdAsync Future<void> Function(String)

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
strokeAlign StrokeAlign

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
strokeBottomWeight num

Available on IndividualStrokesMixin, provided by the IndividualStrokesMixin$Typings extension

getter/setter pair
strokeCap Object

Available on GeometryMixin, provided by the GeometryMixin$Typings extension

getter/setter pair
strokeGeometry VectorPaths

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

no setter
strokeJoin Object

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
strokeLeftWeight num

Available on IndividualStrokesMixin, provided by the IndividualStrokesMixin$Typings extension

getter/setter pair
strokeMiterLimit num

Available on GeometryMixin, provided by the GeometryMixin$Typings extension

getter/setter pair
strokeRightWeight num

Available on IndividualStrokesMixin, provided by the IndividualStrokesMixin$Typings extension

getter/setter pair
strokes ReadonlyArray<Object>

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
strokesIncludedInLayout bool

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
strokeStyleId String

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
strokeTopWeight num

Available on IndividualStrokesMixin, provided by the IndividualStrokesMixin$Typings extension

getter/setter pair
strokeWeight Object

Available on MinimalStrokesMixin, provided by the MinimalStrokesMixin$Typings extension

getter/setter pair
stuckNodes List<SceneNode>

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

no setter
swapComponent ↔ void Function(ComponentNode)

Available on InstanceNode, provided by the InstanceNode$Typings extension

getter/setter pair
targetAspectRatio Vector?

Available on AspectRatioLockMixin, provided by the AspectRatioLockMixin$Typings extension

no setter
topLeftRadius num

Available on RectangleCornerMixin, provided by the RectangleCornerMixin$Typings extension

getter/setter pair
topRightRadius num

Available on RectangleCornerMixin, provided by the RectangleCornerMixin$Typings extension

getter/setter pair
toString$ String Function()

Available on BaseNodeMixin, provided by the BaseNodeMixin$Typings extension

getter/setter pair
type String

Available on InstanceNode, provided by the InstanceNode$Typings extension

no setter
unlockAspectRatio ↔ void Function()

Available on AspectRatioLockMixin, provided by the AspectRatioLockMixin$Typings extension

getter/setter pair
variantProperties Object?

Available on VariantMixin, provided by the VariantMixin$Typings extension

no setter
verticalPadding num

Available on AutoLayoutMixin, provided by the AutoLayoutMixin$Typings extension

getter/setter pair
visible bool

Available on SceneNodeMixin, provided by the SceneNodeMixin$Typings extension

getter/setter pair
width num

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

no setter
x num

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair
y num

Available on DimensionAndPositionMixin, provided by the DimensionAndPositionMixin$Typings extension

getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

type String
no setter