valueOf

open fun valueOf(@NonNull value: Image): ColorTheme

Create a variant from Image.

Return

the created variant

Parameters

value

Image to wrap


open fun valueOf(@NonNull value: StylePropertyValue): ColorTheme

Create a variant from StylePropertyValue.

Return

the created variant

Parameters

value

StylePropertyValue to wrap