NumberInput constructor
const
NumberInput({
- Key? key,
- EdgeInsetsGeometry? padding,
- bool pointerSignals = true,
- TextEditingController? controller,
- double initialValue = 0,
- Widget? leading,
- Widget? trailing,
- double step = 1,
- double? min,
- double? max,
- bool allowDecimals = true,
- int? decimalPlaces,
- bool showButtons = true,
- bool? enabled,
- ValueChanged<
double> ? onChanged, - AbstractButtonStyle? buttonStyle,
- TextStyle? style,
- VoidCallback? onEditingComplete,
- 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,
});