https://github.com/maopy/flutter-clip-shadow
A shadow cast by a clipped box. Support all BoxShadow class properties!
https://github.com/maopy/flutter-clip-shadow
flutter
Last synced: 8 months ago
JSON representation
A shadow cast by a clipped box. Support all BoxShadow class properties!
- Host: GitHub
- URL: https://github.com/maopy/flutter-clip-shadow
- Owner: Maopy
- License: bsd-3-clause
- Archived: true
- Created: 2019-05-27T08:01:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-29T02:32:05.000Z (almost 5 years ago)
- Last Synced: 2024-04-14T23:03:41.166Z (about 2 years ago)
- Topics: flutter
- Language: Dart
- Homepage: https://pub.dev/packages/clip_shadow
- Size: 3.19 MB
- Stars: 8
- Watchers: 2
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# clip_shadow
[](https://pub.dartlang.org/packages/clip_shadow)
Paint clip widgets with shadows.
## Getting Started
### Add dependency to pubspec.yaml
```yaml
[...]
dependencies:
clip_shadow: any
[...]
```
### Install the package using Terminal
```bash
$ flutter packages get
```
Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.
### import
```dart
import 'package:clip_shadow/clip_shadow.dart';
```
```dart
new ClipShadow(
clipper: CustomClipper(...)
boxShadow: [
new BoxShadow(...)
]
child: new Container(...)
)
```
For help getting started with Flutter, view our online [documentation](https://flutter.io/).
For help on editing package code, view the [documentation](https://flutter.io/developing-packages/).