solidColor

Solid-color background — the shorthand background(color(...)) form used inside a style = { } block also accepts this explicitly when a custom alpha is needed.

Parameters

color

Fill color of the background.

alpha

Opacity applied on top of color's own alpha, from 0f to 1f. Defaults to 1f.