superellipse_shape 0.1.4 superellipse_shape: ^0.1.4 copied to clipboard
A package for creating superellipse shapes in flutter. A superellipse is a shape constituting a transition between a rectangle and a circle, and is used to create smooth rounded corners.
Superellipse Shape #
A package for creating superellipse shapes in flutter.
class SuperellipseDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Material(
color: Colors.blueAccent[400],
shape: SuperellipseShape(
borderRadius: BorderRadius.circular(28),
), // SuperellipseShape
child: Container(
width: 100.0,
height: 100.0,
), // Container
); // Material
}
}