clip_shadow 0.2.1 clip_shadow: ^0.2.1 copied to clipboard
A shadow cast by a clipped box. Support all BoxShadow class properties!
clip_shadow #
Paint clip widgets with shadows.
Getting Started #
Add dependency to pubspec.yaml #
[...]
dependencies:
clip_shadow: any
[...]
Install the package using Terminal #
$ flutter packages get
Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.
import #
import 'package:clip_shadow/clip_shadow.dart';
new ClipShadow(
clipper: CustomClipper(...)
boxShadow: [
new BoxShadow(...)
]
child: new Container(...)
)
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.