onChanged property

ValueChanged<T?>? onChanged
final

Called when the value of the number box change. The callback is fired only if the user click on a button or the focus is lost.

If the onChanged callback is null then the number box widget will be disabled, i.e. its buttons will be displayed in grey and it will not respond to input.

See also:

  • onChanging, called when the text of the number box change.

Implementation

final ValueChanged<T?>? onChanged;