AFNumberField<T extends num> constructor
AFNumberField<T extends num> ({
- ValueChanged<
T?> ? onChanged, - required String id,
- required String name,
- required List<
Validator< validators,T> > - 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,
);