superellipse_shape 0.2.0 copy "superellipse_shape: ^0.2.0" to clipboard
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 #

Superellipses in flutter!

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
  }
}
43
likes
140
pub points
84%
popularity

Publisher

unverified uploader

A package for creating superellipse shapes in flutter. A superellipse is a shape constituting a transition between a rectangle and a circle.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on superellipse_shape