hasData method

bool hasData()

Implementation

bool hasData() {
  return controller.text.isNotEmpty;
}