onFocusChanged property

(void Function(String? value, bool hasFocus)?) onFocusChanged
final

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;