NyFieldBuilder typedef

NyFieldBuilder = Widget Function(BuildContext context, dynamic onChanged(dynamic value), dynamic currentValue)

Typedef for the builder function used by Field.builder.

Receives the BuildContext, an onChanged callback to report value changes to the form, and the currentValue of the field.

Implementation

typedef NyFieldBuilder =
    Widget Function(
      BuildContext context,
      Function(dynamic value) onChanged,
      dynamic currentValue,
    );