FormeField<T> constructor

const FormeField<T>({
  1. Key? key,
  2. FormeValidator<T>? validator,
  3. String? name,
  4. bool readOnly = false,
  5. required FormeFieldBuilder<T> builder,
  6. bool enabled = true,
  7. required T initialValue,
  8. AutovalidateMode? autovalidateMode,
  9. int? order,
  10. bool requestFocusOnUserInteraction = true,
  11. FormeFieldStatusChanged<T>? onStatusChanged,
  12. FormeFieldInitialized<T>? onInitialized,
  13. FormeFieldSetter<T>? onSaved,
  14. bool quietlyValidate = false,
  15. Duration? asyncValidatorDebounce,
  16. FormeAsyncValidator<T>? asyncValidator,
  17. FormeFieldValidationFilter<T>? validationFilter,
  18. FocusNode? focusNode,
  19. 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);