NodeShapePainter constructor
const
NodeShapePainter({})
Creates a node shape painter.
Parameters:
shape- The shape to renderbackgroundColor- The fill color for the shapeborderColor- The color of the shape's outlineborderWidth- The width of the border strokeinset- Optional inset to shrink the shape (for port space)shadows- Optional list of shadows to render behind the shape
Implementation
const NodeShapePainter({
required this.shape,
required this.backgroundColor,
required this.borderColor,
required this.borderWidth,
this.inset = EdgeInsets.zero,
this.shadows,
required this.size,
});