AFNumberField<T extends num> constructor

AFNumberField<T extends num>({
  1. ValueChanged<T?>? onChanged,
  2. required String id,
  3. required String name,
  4. required List<Validator<T>> validators,
  5. T? value,
})

Implementation

AFNumberField({
  super.onChanged,
  required String id,
  required String name,
  required List<Validator<T>> validators,
  T? value,
}) : super(
        id: id,
        name: name,
        validators: validators,
        type: AFTextFieldType.number,
        value: value,
      );