SoftSaaSNumberInput constructor
const
SoftSaaSNumberInput({
- Key? key,
- double? value,
- ValueChanged<
double?> ? onChanged, - ValueChanged<
double?> ? onDragUpdate, - VoidCallback? onDragEnd,
- bool readOnly = false,
- String? label,
- TextAlign labelAlignment = TextAlign.left,
- FocusNode? focusNode,
- bool showLabel = false,
- String? prefix,
- String? suffix,
- double? min,
- double? max,
- double step = 1.0,
- double dragSensitivity = 1.0,
- double? width,
- int? decimalPlaces,
- bool allowNegative = true,
- bool showStepper = true,
- SoftSaaSNumberInputSize size = SoftSaaSNumberInputSize.medium,
- bool enabled = true,
- bool elevated = false,
- List<
double> ? presets, - String presetLabel()?,
Implementation
const SoftSaaSNumberInput({
super.key,
this.value,
this.onChanged,
this.onDragUpdate,
this.onDragEnd,
this.readOnly = false,
this.label,
this.labelAlignment = TextAlign.left,
this.focusNode,
this.showLabel = false,
this.prefix,
this.suffix,
this.min,
this.max,
this.step = 1.0,
this.dragSensitivity = 1.0,
this.width,
this.decimalPlaces,
this.allowNegative = true,
this.showStepper = true,
this.size = SoftSaaSNumberInputSize.medium,
this.enabled = true,
this.elevated = false,
this.presets,
this.presetLabel,
});