FastFormField<T> constructor
const
FastFormField<T> ({
- AutovalidateMode? autovalidateMode = AutovalidateMode.onUserInteraction,
- required FormFieldBuilder<
T> builder, - bool enabled = true,
- String? forceErrorText,
- T? initialValue,
- Key? key,
- FormFieldSetter<
T> ? onSaved, - String? restorationId,
- FormFieldValidator<
T> ? validator, - bool? adaptive,
- Map<
FastConditionHandler, FastConditionList> ? conditions, - EdgeInsetsGeometry? contentPadding,
- InputDecoration? decoration,
- String? helperText,
- String? labelText,
- required String name,
- ValueChanged<
T?> ? onChanged, - VoidCallback? onReset,
- 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,
});