contoured_shadow 0.2.1 copy "contoured_shadow: ^0.2.1" to clipboard
contoured_shadow: ^0.2.1 copied to clipboard

Soft, shape-following shadows for Flutter widgets via a RenderObject that blurs the child silhouette. Ideal for cutout images, icons, and irregular shapes.

0.2.1 #

  • Use Material in example cards so SwitchListTile ink is valid under Flutter 3.47.

0.2.0 #

  • Additive APIs on ContouredShadow / RenderContouredShadow:
    • enabled (default true) — when false, paints the child only.
    • Optional blurSigmaX / blurSigmaY — override per-axis blur; missing axes fall back to blurSigma.
    • blendMode (default BlendMode.srcIn) for the shadow color filter.
  • debugFillProperties updated for the new parameters.
  • Example demos for toggling shadow and asymmetric blur.
  • Tests covering enabled: false and custom blur axes.

0.1.0 #

  • Initial release of contoured_shadow.
  • ContouredShadow (alias ContouredShadowWidget) paints a soft shadow that follows the child's opaque silhouette via a RenderProxyBox.
  • Configurable blurSigma, offset, shadowColor, and opacity.
  • Example app, widget tests, and documentation assets.
1
likes
160
points
45
downloads
screenshot

Documentation

API reference

Publisher

verified publisherayushd70.dev

Weekly Downloads

Soft, shape-following shadows for Flutter widgets via a RenderObject that blurs the child silhouette. Ideal for cutout images, icons, and irregular shapes.

Repository (GitHub)
View/report issues

Topics

#ui #shadow #effects #render-object #widget

License

MIT (license)

Dependencies

flutter

More

Packages that depend on contoured_shadow