let scrollable = |
#direction: &ScrollDirection = &`Vertical,
#on_scroll: fn(pos: {x: f64, y: f64}) -> Any = |_| null,
#width: &Length = &`Fill,
#height: &Length = &`Fill,
child: &Widget
| -> Widget `Scrollable({ child, direction, on_scroll: &on_scroll, width, height })