AnyFormField<T> constructor

const AnyFormField<T>({
  1. Key? key,
  2. required Widget displayBuilder(
    1. BuildContext context,
    2. T value
    ),
  3. required InputDecoration decoration,
  4. double? minHeight,
  5. double? maxHeight,
  6. AnyValueController<T>? controller,
  7. ValueChanged<T?>? onChanged,
  8. FutureOr onTap(
    1. T? value
    )?,
  9. T? initialValue,
  10. FormFieldValidator<T>? validator,
  11. FormFieldSetter<T>? onSaved,
})

Implementation

const AnyFormField({
  super.key,
  required this.displayBuilder,
  required this.decoration,
  this.minHeight,
  this.maxHeight,
  this.controller,
  this.onChanged,
  this.onTap,
  this.initialValue,
  this.validator,
  this.onSaved,
});