Adder constructor
Implementation
Adder(
this.name, {
this.onSet,
this.onCancel,
this.textfieldList = const [],
this.children = const [],
}) : assert(textfieldList ==
textfieldList
.unique((x) => x.varName)), //all varnames need to be unique
this._textfieldControllerList =
textfieldList.map((tf) => TextEditingController()).toList(),
// this._textfield_focusnode_list =
// textfield_list.map((tf) => FocusNode()).toList(),
this.json = {name: {}};