veilOut
@Stable
Veils the content as it leaves: a scrim over it animates from fully transparent to targetColor.
The scrim is filled over the content; see unveilIn.
Return
the exit transition.
Parameters
animationSpec
how the scrim's color travels, a medium-low stiffness spring by default.
targetColor
the color the scrim ends at, half-transparent black by default.
matchParentSize
whether the scrim covers the container's whole box instead of only the content's rectangle; false by default.