colorResource

Functions summary

Color

Load a color resource.

Functions

colorResource

@Composable
fun colorResource(id: @ColorRes Int): Color

Load a color resource.

Parameters
id: @ColorRes Int

the resource identifier

Returns
Color

the color associated with the resource