Property

backgroundColor

Background color of the node.

Source set: Common
public var SemanticsPropertyReceiver.backgroundColor: ColorProducer by
    SemanticsProperties.BackgroundColor

Background color of the node.

This must incorporate the background's alpha property as well as the color's alpha, if provided.

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: