checkMandatoryFields method

dynamic checkMandatoryFields()

Implementation

checkMandatoryFields() {
  if (houseNoController.text.isNotEmpty &&
      houseNoKhmrController.text.isNotEmpty &&
      streetNoController.text.isNotEmpty &&
      streetNoKhmrController.text.isNotEmpty &&
      communeController.text.isNotEmpty &&
      districtController.text.isNotEmpty &&
      provinceController.text.isNotEmpty) {
    isButtonEnabled.value = true;
  } else {
    isButtonEnabled.value = false;
  }
}