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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-10T13:28:34.000Z (over 3 years ago)
- Last Synced: 2024-11-12T05:37:30.339Z (8 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

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