NodeShapeClipper constructor

const NodeShapeClipper({
  1. required NodeShape shape,
  2. EdgeInsets padding = EdgeInsets.zero,
})

Creates a node shape clipper.

Parameters:

  • shape - The shape to clip to
  • padding - Optional inset padding to shrink the clipping area

Implementation

const NodeShapeClipper({required this.shape, this.padding = EdgeInsets.zero});