validateDirty method

dynamic validateDirty()

Implementation

validateDirty() {
  if (!dirty) {
    dirty = widget.controller.text != this.defaultStr;
  }
}