SourceContext
@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 |
open Boolean |
The source context is for a call to an inline composable function |
SourceLocation? |
The |
String? |
The name of the Composable or null if not applicable. |
List<ParameterInformation> |
The parameters of the Composable. |
Public properties
isInline
Added in 1.4.0
open val isInline: Boolean
The source context is for a call to an inline composable function
location
Added in 1.3.0
val location: SourceLocation?
The SourceLocation of where the Composable was called.
parameters
Added in 1.3.0
val parameters: List<ParameterInformation>
The parameters of the Composable.