on method
NikuTextField
on({
- ValueChanged<
String> ? changed, - GestureTapCallback? tap,
- VoidCallback? editingComplete,
- ValueChanged<
String> ? submitted, - FormFieldValidator<
String> ? saved,
call with the final value when the form is saved via FormState.save
Equivalent to
TextFormField(
onChanged: changed,
onTap: tap,
onEditingComplete: editingComplete
onFieldSubmitted: submitted,
onSaved: saved
)
Implementation
NikuTextField on(
{ValueChanged<String>? changed,
GestureTapCallback? tap,
VoidCallback? editingComplete,
ValueChanged<String>? submitted,
FormFieldValidator<String>? saved}) {
this._onChanged = changed;
this._onTap = tap;
this._onEditingComplete = editingComplete;
this._onFieldSubmitted = submitted;
this._onSaved = saved;
return this;
}