InputNumber constructor
const
InputNumber({
- Key? key,
- Widget? addonAfter,
- Widget? addonBefore,
- bool autoFocus = false,
- bool bordered = true,
- InputNumberController? controller,
- bool controls = true,
- String? decimalSeparator,
- bool disabled = false,
- String formatter()?,
- bool keyboard = true,
- double max = double.maxFinite,
- double min = double.minPositive,
- void onChange()?,
- void onPressEnter()?,
- void onStep()?,
- double parser()?,
- String? placeholder,
- double? precision,
- Widget? prefix,
- bool readOnly = false,
- bool stringMode = false,
- Status? status,
- Size size = Size.medium,
- double step = 1,
Implementation
const InputNumber({
Key? key,
this.addonAfter,
this.addonBefore,
this.autoFocus = false,
this.bordered = true,
this.controller,
this.controls = true,
this.decimalSeparator,
this.disabled = false,
this.formatter,
this.keyboard = true,
this.max = double.maxFinite,
this.min = double.minPositive,
this.onChange,
this.onPressEnter,
this.onStep,
this.parser,
this.placeholder,
this.precision,
this.prefix,
this.readOnly = false,
this.stringMode = false,
this.status,
this.size = Size.medium,
this.step = 1,
}) : super(key: key);