Interface

ColorProvider

Provider of colors for a glance composable's attributes.

Source set: Android
public interface ColorProvider

Provider of colors for a glance composable's attributes.

Functions

getColor

Source set: Android
public fun getColor(context: Context): Color

Returns the color the provider would use in the given context.

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: