Skip to content

rei-codes/drop_shadow

Repository files navigation

DropShadow

style: very good analysis

Drop shadow effect for any widget in flutter

Cover

Logic behind the package

Logic

Screenshot

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