Interface

ColorProducer

Alternative to () -> Color that's useful for avoiding boxing.

Source set: Common
public interface ColorProducer

Alternative to () -> Color that's useful for avoiding boxing.

Can be used as:

fun nonBoxedArgs(color: ColorProducer?)

Functions

invoke

Source set: Common
public operator fun invoke(): Color

Return the color

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: