EditTextParser constructor

EditTextParser(
  1. String name,
  2. String? description,
  3. String id,
  4. dynamic chosenValue,
  5. OnValueChanged? onValueChanged,
  6. bool isBeforeHeader,
  7. int index,
  8. Widget dateBuilder(
    1. int date,
    2. String id
    )?,
)

Implementation

EditTextParser(this.name, this.description, this.id, this.chosenValue,
    this.onValueChanged, this.isBeforeHeader, this.index, this.dateBuilder) {
  onValueChangedLocal = (String id, dynamic value) async {
    chosenValue = value;
    if (onValueChanged != null) {
      return await onValueChanged!(id, value);
    }
    return Future.value(false);
  };
}