NumberField constructor

const NumberField({
  1. Key? key,
  2. int? initialValue,
  3. FormFieldValidator? validator,
  4. FocusNode? focusNode,
  5. TextEditingController? controller,
  6. bool autofocus = false,
  7. bool enabled = true,
  8. required String labelText,
  9. required void onChanged(
    1. int?
    ),
})

Implementation

const NumberField({
  super.key,
  this.initialValue,
  this.validator,
  this.focusNode,
  this.controller,
  this.autofocus = false,
  this.enabled = true,
  required this.labelText,
  required this.onChanged,
});