hasFocus property
bool
get
hasFocus
whether field has been focused
always return null if widget has no FormeFieldState.focusNode
Implementation
bool get hasFocus => _currentFocusNode?.hasFocus ?? false;