InputNumber constructor

const InputNumber({
  1. Key? key,
  2. Widget? addonAfter,
  3. Widget? addonBefore,
  4. bool autoFocus = false,
  5. bool bordered = true,
  6. InputNumberController? controller,
  7. bool controls = true,
  8. String? decimalSeparator,
  9. bool disabled = false,
  10. String formatter()?,
  11. bool keyboard = true,
  12. double max = double.maxFinite,
  13. double min = double.minPositive,
  14. void onChange()?,
  15. void onPressEnter()?,
  16. void onStep()?,
  17. double parser()?,
  18. String? placeholder,
  19. double? precision,
  20. Widget? prefix,
  21. bool readOnly = false,
  22. bool stringMode = false,
  23. Status? status,
  24. Size size = Size.medium,
  25. 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);