TFormField<T> constructor

TFormField<T>({
  1. required Widget builder(
    1. ValueChanged<T?>
    ),
  2. TFieldProp<T>? prop,
  3. bool isSubForm = false,
})

Creates a form field.

Implementation

TFormField({required this.builder, this.prop, this.isSubForm = false}) {
  _field = builder.call(_onValueChanged);
}