NumberInput constructor
const
NumberInput({
- Key? key,
- required double numberValue,
- required String label,
- String? errorText,
- ValueChanged<
double> ? onChanged, - String? hintText,
- Widget? icon,
- int minLines = 1,
- int maxLines = 1,
- int? maxLength,
- bool enabled = true,
- bool autoFocus = false,
- FocusNode? focusNode,
- EdgeInsetsGeometry? contentPadding,
- TextInputAction? textInputAction,
- List<
TextInputFormatter> ? inputFormatters, - dynamic onSubmited()?,
- int precision = 0,
Implementation
const NumberInput({
Key? key,
required this.numberValue,
required this.label,
this.errorText,
this.onChanged,
this.hintText,
this.icon,
this.minLines = 1,
this.maxLines = 1,
this.maxLength,
this.enabled = true,
this.autoFocus = false,
this.focusNode,
this.contentPadding,
this.textInputAction,
this.inputFormatters,
this.onSubmited,
this.precision = 0,
}) : super(key: key);