@UiToolingDataApi
interface SourceContext


Context with data for creating group nodes.

See the factory argument of mapTree.

Summary

Public properties

IntRect

The bounds of the Composable if known.

Int

The current depth into the CompositionGroup tree.

open Boolean

The source context is for a call to an inline composable function

SourceLocation?

The SourceLocation of where the Composable was called.

String?

The name of the Composable or null if not applicable.

List<ParameterInformation>

The parameters of the Composable.

Public properties

bounds

val boundsIntRect

The bounds of the Composable if known.

depth

val depthInt

The current depth into the CompositionGroup tree.

isInline

open val isInlineBoolean

The source context is for a call to an inline composable function

location

val locationSourceLocation?

The SourceLocation of where the Composable was called.

name

val nameString?

The name of the Composable or null if not applicable.

parameters

val parametersList<ParameterInformation>

The parameters of the Composable.