PreviewLabPreview
fun PreviewLabPreview(id: String, displayName: String = id, filePath: String? = null, startLineNumber: Int? = null, code: String? = null, content: @Composable () -> Unit): PreviewLabPreview
Create a CollectedPreview instance.
Parameters
displayName
The value set to displayName of the ComposePreviewLabOption annotation.
filePath
The file where Preview exists.
startLineNumber
The starting line number of Preview.
code
The source code of Preview.
content
The content of Preview. You can display the content of Preview by calling invoke().