Callback, called when UserName is submitted.
final FutureOr<void> Function(UserName? name)? onSubmit;