InputFieldSetter<T> typedef

void InputFieldSetter (
  1. T newValue
)

Signature for being notified when a form field changes value.

Used by InputField.onSaved.

Implementation

typedef InputFieldSetter<T> = void Function(T newValue);