onFocusChanged property
A callback that returns the value at the time when the focus is changed.
The value
is passed the current value and hasFocus
is passed whether the focus is on or not.
フォーカスが変更されたときにそのときの値を返すコールバック。
value
に現在の値が渡され、hasFocus
にフォーカスが当たっているかどうかが渡されます。
Implementation
final void Function(String? value, bool hasFocus)? onFocusChanged;