ShadowExtension extension

Extension to easily add shadows to widgets

on

Properties

withHeavyShadow Widget

Available on Widget, provided by the ShadowExtension extension

Adds a heavy shadow to the widget
no setter
withLightShadow Widget

Available on Widget, provided by the ShadowExtension extension

Adds a light shadow to the widget
no setter
withMediumShadow Widget

Available on Widget, provided by the ShadowExtension extension

Adds a medium shadow to the widget
no setter

Methods

withColoredShadow({required Color color, double blurRadius = 10.0, double spreadRadius = 0.0, Offset offset = const Offset(0, 3)}) Widget

Available on Widget, provided by the ShadowExtension extension

Adds a colored shadow to the widget
withShadow({Color color = Colors.black26, double blurRadius = 10.0, double spreadRadius = 0.0, Offset offset = const Offset(0, 3), double borderRadius = 0.0}) Widget

Available on Widget, provided by the ShadowExtension extension

Adds a shadow with the specified color, blur radius, and offset to the widget