Widget
A reusable widget: .wgt(...) is what it renders. Params become config keys; a param obj obj (or .obj(.obj)) is the object the caller puts in .obj.
Example
Widget(
.name(Card)
.param(req txt title)
.wgt(
Container(
.config(padding: all(16))
.obj(Text(param.title))
)
)
)Modifiers
.name · .param · .react · .wgt