NumericInputField constructor

const NumericInputField({
  1. Key? key,
  2. TextEditingController? controller,
  3. required String label,
  4. bool allowDecimal = false,
  5. dynamic onChange(
    1. String
    )?,
  6. void onClear()?,
  7. bool readOnly = false,
  8. String? initialValue,
  9. InputDecoration? inputDecoration,
  10. double? textFormFieldWidth,
  11. double? textFormFieldHeight,
  12. double? fontSize,
  13. double? padding,
})

Implementation

const NumericInputField(
    {super.key,
    this.controller,
    required this.label,
    this.allowDecimal = false,
    this.onChange,
    this.onClear,
    this.readOnly = false,
    this.initialValue,
    this.inputDecoration,
    this.textFormFieldWidth,
    this.textFormFieldHeight,
    this.fontSize,
    this.padding});