onIncrement property
T? Function(T? currentValue)
onIncrement
final
run your custom code to increment the displayed value. return the new desired value.
Implementation
final T? Function(T? currentValue) onIncrement;