⌂
›
Widgets
›
Shadow
Shadow
Shadow control. Build it with the shadow helper.
Example
shadow(
color: :blue_600
)
Properties
color— Foreground color.elevation— Shadow depth (z-height).path— Sets the path property.transparent_occluder— Sets the transparent occluder property.
Common layout and animation properties
data— Arbitrary value you can attach to the control and read back in handlers.key— Stable identity used to preserve state across rebuilds.
Reference
- Family:
shared - Widget type:
shadow - Helpers:
shadow