NumberInput constructor

const NumberInput({
  1. Key? key,
  2. VoidCallback? onEditingComplete,
  3. EdgeInsetsGeometry? padding,
  4. FocusNode? focusNode,
  5. TextEditingController? controller,
  6. double initialValue = 0,
  7. double step = 1,
  8. double? min,
  9. double? max,
  10. bool allowDecimals = true,
  11. int? decimalPlaces,
  12. bool showButtons = true,
  13. bool? enabled,
  14. ValueChanged<double>? onChanged,
  15. AbstractButtonStyle? buttonStyle,
  16. TextStyle? style,
})

Implementation

const NumberInput({
  super.key,
  this.onEditingComplete,
  this.padding,
  this.focusNode,
  this.controller,
  this.initialValue = 0,
  this.step = 1,
  this.min,
  this.max,
  this.allowDecimals = true,
  this.decimalPlaces,
  this.showButtons = true,
  this.enabled,
  this.onChanged,
  this.buttonStyle,
  this.style,
});