Rectangle
Displays a filled rectangle.
component Rectangle
Example
import { Rectangle } from ui
export var main = Rectangle(color: Color(0xFFFF0000))
Constructor
constructor(color: Color, radius: Float = 0.0)
color: ColorThe fill color.
See Color
radius: Float = 0.0The radius for rounding the corners.
Layout Behavior
Fills the available area.