buildTextArea function
Implementation
Widget buildTextArea(BuildContext context, OpenUiNode node) {
final label = node.props.string('label');
final f = _field(node, 'value', label);
final rows = (node.props.number('rows') ?? 3).round().clamp(2, 20);
return _labeled(
node.theme,
label,
_TextBox(
text: _plain(f.value),
rows: rows,
hint: node.props.string('placeholder'),
onChanged: f.set,
),
);
}