FastFormField<T> constructor

const FastFormField<T>({
  1. AutovalidateMode? autovalidateMode = AutovalidateMode.onUserInteraction,
  2. required FormFieldBuilder<T> builder,
  3. bool enabled = true,
  4. String? forceErrorText,
  5. T? initialValue,
  6. Key? key,
  7. FormFieldSetter<T>? onSaved,
  8. String? restorationId,
  9. FormFieldValidator<T>? validator,
  10. bool? adaptive,
  11. Map<FastConditionHandler, FastConditionList>? conditions,
  12. EdgeInsetsGeometry? contentPadding,
  13. InputDecoration? decoration,
  14. String? helperText,
  15. String? labelText,
  16. required String name,
  17. ValueChanged<T?>? onChanged,
  18. VoidCallback? onReset,
  19. void onTouched()?,
})

Implementation

const FastFormField({
  super.autovalidateMode = AutovalidateMode.onUserInteraction,
  required super.builder,
  super.enabled = true,
  super.forceErrorText,
  super.initialValue,
  super.key,
  super.onSaved,
  super.restorationId,
  super.validator,
  this.adaptive,
  this.conditions,
  this.contentPadding,
  this.decoration,
  this.helperText,
  this.labelText,
  required this.name,
  this.onChanged,
  this.onReset,
  this.onTouched,
});