DigitTextAreaFormInput constructor
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 onError()?,
- List<
Validator> ? validations, - int maxLine = 10,
- double height = 200,
- void onChange()?,
- String? errorMessage,
- 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,
);