drop_shadow 0.1.0 drop_shadow: ^0.1.0 copied to clipboard
Add drop shadow effect for any widgets in flutter
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 |