AnyFormField<T> constructor
const
AnyFormField<T> ({
- Key? key,
- required Widget displayBuilder(
- BuildContext context,
- T value
- required InputDecoration decoration,
- double? minHeight,
- double? maxHeight,
- AnyValueController<
T> ? controller, - ValueChanged<
T?> ? onChanged, - FutureOr onTap(
- T? value
- T? initialValue,
- FormFieldValidator<
T> ? validator, - 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,
});