NumberField constructor
const
NumberField({
- Key? key,
- int? initialValue,
- FormFieldValidator<
int> ? validator, - TextInputAction? textInputAction,
- dynamic onEditingComplete()?,
- TextEditingController? controller,
- FocusNode? focusNode,
- bool autofocus = false,
- bool enabled = true,
- required String labelText,
- required void onChanged(
- 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,
});