CustomizedLookaheadAnimationVisualDebugging
Common
@Composable
@ExperimentalLookaheadAnimationVisualDebugApi
public fun CustomizedLookaheadAnimationVisualDebugging(
debugColor: Color,
content: @Composable () -> Unit,
)
Allows customizing a particular shared element or animated bounds animation for debugging. Note that enabling CustomizedLookaheadAnimationVisualDebugging affects the entire UI subtree generated by the content lambda. It applies to all descendants, regardless of whether they are defined within the same lexical scope.
An example of how to use it:
Parameters
| debugColor | The custom color specified for animation debugging visualizations. |
| content | The composable content that debugging visualizations will apply to, although which visualizations appear depends on where the Modifiers are placed. |