Skip to content
pubscout

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.

WASM-ready
$ flutter pub add cupertino_rounded_corners
Source repository

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.