cupertino_rounded_corners
2.1.1, released 4 years ago by an unverified publisher
A widget and border to make cupertino rounded corners or squircles using bezier paths.
What it does
Provides a custom SquircleBorder and a CupertinoCard widget that implement squircle rounded corners (bezier-based corners). Supports gradients, tap handling, and clipped paths for children.
AI-written summary of version 2.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to create iOS-style squircle rounded corners on cards or containers.
- You need a custom border shaped like a squircle in Flutter.
Skip it when
- You only need standard rectangular borders or circular border radii.
- You are using a heavy UI kit that already bundles its own squircle implementation.
Strengths
- Provides both a custom ShapeBorder and a pre-built CupertinoCard widget.
- Supports gradient backgrounds, ink splash, and click/press actions.
Weaknesses
- Limited feature scope focused strictly on squircle shapes and cards.
- Changelog entries contain placeholder release dates.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
CupertinoCard(
child: const Text("HELLO WORLD"),
elevation: 2.0,
margin: const EdgeInsets.all(4.0),
padding: const EdgeInsets.all(0.0),
color: Colors.white,
radius: BorderRadius.all(
new Radius.circular(40.0),
),
);Alternatives
Packages that do the same job and could replace cupertino_rounded_corners.
- figma_squircle
Smooth corner radii for Flutter, implementing Figma's corner smoothing.
59Compare - rounded_background_text
Highlight text, text fields, and text spans with customizable rounded corners.
53Compare - flutter_rounded_progress_bar
A customizable rounded progress bar widget for Flutter supporting themes and icons.
43Compare - glowy_borders
A wrapper widget to animate borders and glows around widgets using gradients.
49Compare