AFTextField<T extends Object> constructor
AFTextField<T extends Object> ({
- ValueChanged<
T?> ? onChanged, - required String id,
- required String name,
- required List<
Validator< validators,T> > - required AFTextFieldType type,
- int? maxLines = 1,
- T? value,
Implementation
AFTextField({
super.onChanged,
required String id,
required String name,
required List<Validator<T>> validators,
required this.type,
this.maxLines = 1,
T? value,
}) : super(id: id, name: name, validators: validators) {
super.value = value;
}