setup method

void setup()

Implementation

void setup() {
  if (widget.fields.length == 1 || widget.showAllForm) {
    showAllForm = true;
  }
}