Description
Sets the foreground style for a view.
Parameters
style
: The foreground style to apply. This can be a color, a gradient, or a material.Example
<text foregroundStyle="style:lineargradient;colors:[red,green,blue];startPoint:0.0,0.5;endPoint:1.0,0.5">Hello, World!</text>