radialGradient

fun radialGradient(shape: RadialGradient.Shape?, position: CSSPosition? = null, interpolation: ColorInterpolationMethod? = null, init: LengthColorStopsBuilder.() -> Unit): RadialGradient(source)
fun radialGradient(from: CSSColorValue, to: CSSColorValue, shape: RadialGradient.Shape? = null, position: CSSPosition? = null, interpolation: ColorInterpolationMethod? = null): RadialGradient(source)


fun radialGradient(shape: RadialGradient.Shape, from: CSSColorValue, to: CSSColorValue, position: CSSPosition? = null): RadialGradient(source)

Deprecated

The arguments have been reordered to accept the colors first, as this order is more suited to adding additional optional arguments across the different method variants in a consistent way.

Replace with

radialGradient(from, to, shape, position)