UXPFieldNumber constructor

const UXPFieldNumber({
  1. Key? key,
  2. required Function? onChange,
  3. required String? label,
  4. required String value,
  5. bool? required,
  6. String? description,
  7. required String placeholder,
  8. required bool readOnly,
  9. double? minValue,
  10. double? maxValue,
  11. bool? allowDecimals,
  12. bool? allowNegativeValues,
  13. double? step,
})

Implementation

const UXPFieldNumber({
  Key? key,
  required this.onChange,
  required this.label,
  required this.value,
  this.required,
  this.description,
  required this.placeholder,
  required this.readOnly,
  this.minValue,
  this.maxValue,
  this.allowDecimals,
  this.allowNegativeValues,
  this.step,
}) : super(key: key);