fills property

List<Paint>? get fills

The fill properties of the bar

Implementation

List<figma.Paint>? get fills {
  return getCached("fills", () {
    List<figma.Paint>? fills;
    if (node is figma.Frame) fills = (node as figma.Frame).fills;
    if (node is figma.Instance) fills = (node as figma.Instance).fills;
    return fills?.where((fill) => fill.visible).toList();
  });
}