Function

parseSourceInformation

Parses source information from a string produced by Compose compiler.

parseSourceInformation

Source set: Common
public fun parseSourceInformation(data: String): SourceInformation?

Parses source information from a string produced by Compose compiler. The source information string is usually obtained from CompositionGroup.sourceInfo.

Return

parsed source information or null if the string is not a valid source information

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: