isDisabled method

bool isDisabled()

Implementation

bool isDisabled() {
  return (((_itemOne).replaceAll(RegExp(r"\s+"), " ").trim() == '') ||
          ((_itemTwo).replaceAll(RegExp(r"\s+"), " ").trim() == '') ||
          (_itemThree == -1) ||
          (_itemFour == -1)) ||
      _itemFive.replaceAll(RegExp(r"\s+"), " ").trim() == "" ||
      _itemSix.replaceAll(RegExp(r"\s+"), " ").trim() == "" ||
      _itemEight.replaceAll(RegExp(r"\s+"), " ").trim() == "" ||
      _itemNine == -1 ||
      _itemTen.replaceAll(RegExp(r"\s+"), " ").trim() == "";
}