contoured_shadow 0.2.1
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(defaulttrue) — whenfalse, paints the child only.- Optional
blurSigmaX/blurSigmaY— override per-axis blur; missing axes fall back toblurSigma. blendMode(defaultBlendMode.srcIn) for the shadow color filter.
debugFillPropertiesupdated for the new parameters.- Example demos for toggling shadow and asymmetric blur.
- Tests covering
enabled: falseand custom blur axes.
0.1.0 #
- Initial release of
contoured_shadow. ContouredShadow(aliasContouredShadowWidget) paints a soft shadow that follows the child's opaque silhouette via aRenderProxyBox.- Configurable
blurSigma,offset,shadowColor, andopacity. - Example app, widget tests, and documentation assets.
