Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Salby/superellipse_shape
A package for creating superellipse shapes in flutter
https://github.com/Salby/superellipse_shape
dart flutter geometry
Last synced: 3 months ago
JSON representation
A package for creating superellipse shapes in flutter
- Host: GitHub
- URL: https://github.com/Salby/superellipse_shape
- Owner: Salby
- License: mit
- Created: 2019-01-02T09:49:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-10T13:28:34.000Z (about 3 years ago)
- Last Synced: 2024-06-21T20:08:12.970Z (5 months ago)
- Topics: dart, flutter, geometry
- Language: Dart
- Homepage: https://pub.dartlang.org/packages/superellipse_shape
- Size: 36.1 KB
- Stars: 37
- Watchers: 1
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Superellipse Shape
![Superellipses in flutter!](https://i.imgur.com/HbfbgBL.png)
A package for creating superellipse shapes in flutter.
___
```dart
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
}
}
```