smooth_border library

iOS-style continuous corner radius (squircle) for Flutter.

Provides SmoothRectangleBorder, a ShapeBorder that creates smooth, continuous corners matching the visual style of iOS and Figma.

Works with any widget that accepts ShapeBorder:

Container(
  decoration: ShapeDecoration(
    shape: SmoothRectangleBorder(borderRadius: 16),
    color: Colors.white,
  ),
)

Classes

SmoothRectangleBorder
A ShapeBorder with iOS-style continuous corner radius (squircle).
SmoothRectangleClipper
A CustomClipper that clips to an iOS-style continuous rounded rectangle.