NumberField constructor

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

Implementation

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