smooth_border 1.0.0
smooth_border: ^1.0.0 copied to clipboard
iOS-style continuous corner radius (squircle) for Flutter. A ShapeBorder that works with any widget — Container, Card, Material, ClipPath, and more.
smooth_border #
1.0.0 #
Initial Release #
SmoothRectangleBorder— iOS-style continuous corner radius as aShapeBorder. Works withContainer,Card,Material,ElevatedButton,Dialog, and any widget that acceptsShapeBorder.SmoothRectangleClipper—CustomClipper<Path>forClipPathto clip any widget to a squircle shape.smoothPath()— core path generation function using cubic bezier curves derived from Figma's smooth corners algorithm.- Adjustable smoothing —
0.0(standard circular) to1.0(maximum smoothness). Default0.6matches iOS/Figma. - Symmetric corners — all 4 corners are identical regardless of widget aspect ratio.
- Zero dependencies — pure Dart/Flutter implementation.