Implementation
@override
set value(List<String> newValue) {
final oldValue = value;
if (newValue.length < valueListPanel.children.length) {
for (var i = newValue.length; i < valueListPanel.children.length; i++) {
valueListPanel.removeComponent(valueListPanel.children[i]);
}
}
var i = 0;
for (final valuePanel in valueListPanel.children) {
if (valuePanel is ListFieldRow) {
valuePanel.value = newValue[i];
}
i++;
}
if (newValue.length > valueListPanel.children.length) {
for (; i < newValue.length; i++) {
addRow(newValue[i]);
}
}
fireValueChange(oldValue, newValue);
}