FLUTTER ECOSYSTEM

Salby/superellipse_shape

A package for creating superellipse shapes in flutter

superellipse_shape project cover
Stars
41
Forks
6
Last push (UTC)
Nov 10, 2021
Project status
Active
Sander Larsen GitHub avatar
GITHUB User

Sander Larsen ↗

Frontend developer @ Ambuflex

@AmbuFlex DenmarkOfficial website ↗
LanguagesDart

Technical topics

Packages published by this repository

Dependencies used

Dependency list 2 items
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

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
  }
}