strokeWeight property

double? get strokeWeight

The stroke weight of the bar

Implementation

double? get strokeWeight {
  return getCached("strokeWeight", () {
    if (node is figma.Frame) {
      return (node as figma.Frame).strokeWeight?.toDouble();
    }
    if (node is figma.Instance) {
      return (node as figma.Instance).strokeWeight?.toDouble();
    }
    return null;
  });
}