AFSelectField<T extends Object> constructor

AFSelectField<T extends Object>({
  1. ValueChanged<T?>? onChanged,
  2. required String id,
  3. required String name,
  4. required List<Validator<Object?>> validators,
  5. required List<T> values,
  6. required String textBuilder(
    1. T value
    ),
  7. required T value,
})

Implementation

AFSelectField({
  super.onChanged,
  required String id,
  required String name,
  required List<Validator<Object?>> validators,
  required this.values,
  required this.textBuilder,
  required T value,
}) : super(
        id: id,
        name: name,
        validators: validators,
      ) {
  super.value = value;
}