Pfield constructor

const Pfield({
  1. Key? key,
  2. int count = 5,
  3. String? yesDialog,
  4. String? noDialog,
  5. String? dialogText,
  6. bool longPressClipboard = true,
  7. String inputValidExperssion = r'\d+',
  8. TextInputType? keyboardType = TextInputType.number,
  9. TextEditingController? controller,
  10. InputDecoration? inputDecoration,
  11. bool autoFocus = false,
  12. bool isError = false,
})

Implementation

const Pfield(
    {Key? key,
    this.count = 5,
    this.yesDialog,
    this.noDialog,
    this.dialogText,
    this.longPressClipboard = true,
    this.inputValidExperssion = r'\d+',
    this.keyboardType = TextInputType.number,
    this.controller,
    this.inputDecoration,
    this.autoFocus = false,
    this.isError = false})
    : super(key: key);