checkInput method

void checkInput()

Implementation

void checkInput() {
  if (controller.text.isEmpty) {
    showToast(hintText);
    return;
  }
  if (onConfirmTap != null) onConfirmTap!(controller.text);
}