DigitTextAreaFormInput constructor

const DigitTextAreaFormInput({
  1. Key? key,
  2. required TextEditingController controller,
  3. String? label,
  4. String? initialValue,
  5. String? infoText,
  6. TextAreaScroll textAreaScroll = TextAreaScroll.none,
  7. bool? info,
  8. bool readOnly = false,
  9. bool isDisabled = false,
  10. bool isRequired = false,
  11. bool charCount = false,
  12. String? innerLabel,
  13. String? helpText,
  14. TooltipTriggerMode triggerMode = TooltipTriggerMode.tap,
  15. bool preferToolTipBelow = false,
  16. void onError(
    1. String?
    )?,
  17. List<Validator>? validations,
  18. int maxLine = 10,
  19. double height = 200,
  20. void onChange(
    1. String
    )?,
  21. String? errorMessage,
  22. List<TextInputFormatter>? inputFormatters,
})

Implementation

const DigitTextAreaFormInput({
  Key? key,
  required TextEditingController controller,
  String? label,
  String? initialValue,
  String? infoText,
  TextAreaScroll textAreaScroll = TextAreaScroll.none,
  bool? info,
  bool readOnly = false,
  bool isDisabled = false,
  bool isRequired = false,
  bool charCount = false,
  String? innerLabel,
  String? helpText,
  TooltipTriggerMode triggerMode = TooltipTriggerMode.tap,
  bool preferToolTipBelow = false,
  void Function(String?)? onError,
  final List<Validator>? validations,
  int maxLine = 10,
  double height = 200,
  final void Function(String)? onChange,
  final String? errorMessage,
  final List<TextInputFormatter>? inputFormatters,
}) : super(
        key: key,
        controller: controller,
        label: label,
        info: info,
        infoText: infoText,
        readOnly: readOnly,
        isRequired: isRequired,
        isDisabled: isDisabled,
        charCount: charCount,
        innerLabel: innerLabel,
        helpText: helpText,
        triggerMode: triggerMode,
        preferToolTipBelow: preferToolTipBelow,
        onError: onError,
        maxLine: maxLine,
        initialValue: initialValue,
        height: height,
        validations: validations,
        onChange: onChange,
        textAreaScroll: textAreaScroll,
        isTextArea: true,
        errorMessage: errorMessage,
        inputFormatters: inputFormatters,
      );