supportsLayout property

bool get supportsLayout

Whether the node supports layout capabilities

Implementation

bool get supportsLayout {
  return getCached(
    "supportsMixin",
    () =>
        node is figma.Frame ||
        node is figma.Instance ||
        (node is figma.Group && (node as figma.Group).children != null),
  );
}