onFocusChanged method

void onFocusChanged()

Implementation

void onFocusChanged() {
  setState(() {
    _isInEditMode = focusNode.hasFocus;
  });
}