Composable Function

currentProfileSupportsThemedColors

Whether the current creation androidx.compose.remote.creation.profile.Profile supports themed (Android system) colors created with androidx.compose.remote.creation.compose.state.createThemedRemoteColor.

currentProfileSupportsThemedColors

Source set: Android
@Composable
public fun currentProfileSupportsThemedColors(): Boolean

Whether the current creation androidx.compose.remote.creation.profile.Profile supports themed (Android system) colors created with androidx.compose.remote.creation.compose.state.createThemedRemoteColor.

Some profiles, such as androidx.glance.wear.GlanceWearProfiles.wearWidgets, do not include the color theme operation. Design systems and components can check this before emitting themed colors and fall back to named or literal colors when it is false.

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: