superellipse_shape 0.2.0 superellipse_shape: ^0.2.0 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.
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.0),
), // SuperellipseShape
child: Container(
width: 100.0,
height: 100.0,
), // Container
); // Material
}
}