NumberInput constructor

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

Implementation

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