DropShadow
Drop shadow effect for any widget in flutter
Logic behind the package
Screenshot
Example Usage
DropShadow(
child: Image.network(
'https://images.pexels.com/photos/1191639/pexels-photo-1191639.jpeg',
width: 250,
),
);
Parameters
Type | Name | Value |
---|---|---|
Widget | child | required |
double | blurRadius | 10.0 |
double | borderRadius | 0.0 |
Offset | offset | Offset(0.0, 8.0) |
double | opacity | 1.0 |
double | spread | 1.0 |
Color? | color | null |
Libraries
- drop_shadow
- main library of the package