FormeField<T> constructor
const
FormeField<T> ({
- Key? key,
- FormeValidator<
T> ? validator, - String? name,
- bool readOnly = false,
- required FormeFieldBuilder<
T> builder, - bool enabled = true,
- required T initialValue,
- AutovalidateMode? autovalidateMode,
- int? order,
- bool requestFocusOnUserInteraction = true,
- FormeFieldStatusChanged<
T> ? onStatusChanged, - FormeFieldInitialized<
T> ? onInitialized, - FormeFieldSetter<
T> ? onSaved, - bool quietlyValidate = false,
- Duration? asyncValidatorDebounce,
- FormeAsyncValidator<
T> ? asyncValidator, - FormeFieldValidationFilter<
T> ? validationFilter, - FocusNode? focusNode,
- FormeFieldDecorator<
T> ? decorator,
Implementation
const FormeField({
Key? key,
this.validator,
this.name,
this.readOnly = false,
required this.builder,
this.enabled = true,
required this.initialValue,
AutovalidateMode? autovalidateMode,
this.order,
this.requestFocusOnUserInteraction = true,
this.onStatusChanged,
this.onInitialized,
this.onSaved,
this.quietlyValidate = false,
this.asyncValidatorDebounce,
this.asyncValidator,
this.validationFilter,
this.focusNode,
this.decorator,
}) : autovalidateMode = autovalidateMode ?? AutovalidateMode.disabled,
super(key: key);