addTextField method

void addTextField()

Implementation

void addTextField() {
  if (textFieldHints.length < maxFields) {
    etOptionsControllers.add(TextEditingController());
    textFieldHints.add("Option ${textFieldHints.length + 1}");
  }
}