1 2 3 4 5 6
let canvas = | #width: &Length = &`Fill, #height: &Length = &`Fill, #background: &[Color, null] = &null, shapes: &Array<CanvasShape> | -> Widget `Canvas({ shapes, width, height, background })