defaultCutoutBuilder static method

void defaultCutoutBuilder(
  1. Path path,
  2. Rect bounds
)

The default cutout builder that adds a plain rectangle matching the cutout's bounds.

Implementation

static void defaultCutoutBuilder(Path path, Rect bounds) => path.addRect(bounds);