Klip CustomPaint

ClipRRect(
  borderRadius: BorderRadius.only(
    topLeft: Radius.circular(25.0),
    topRight: Radius.circular(25.0),
    bottomRight: Radius.circular(25.0),
  ),
  child: CustomPaint(
          painter: (...),
          child: (...),
        ),
)
Glamorous Gibbon