DropShadow

style: very good analysis

Drop shadow effect for any widget in flutter

Cover

Logic behind the package

Logic

For Further information check out the article

Screenshot

screenshot

Example Usage

DropShadow(
  child: Image.network(
    'https://images.pexels.com/photos/1191639/pexels-photo-1191639.jpeg',
    width: 250,
  ),
);

Parameters

TypeNameValue
Widgetchildrequired
doubleblurRadius10.0
doubleborderRadius0.0
OffsetoffsetOffset(0.0, 8.0)
doubleopacity1.0
doublespread1.0

Libraries

drop_shadow