onChanged property
Called with the number as it is taken, or null when the field is cleared.
Null disables it, with no second switch, as Flutter's controls do: it leaves the focus order and a screen reader reads it as disabled.
Implementation
final ValueChanged<double?>? onChanged;