CQInputTextView constructor

CQInputTextView({
  1. Key? key,
  2. String? text,
  3. String? placeholder,
  4. int? maxLength,
  5. int maxLengthAlgorithm(
    1. String
    )?,
  6. List<TextInputFormatter>? inputFormatters,
  7. int? maxLines,
  8. double? minHeight,
  9. double? maxHeight,
  10. required TextChangeCallback textChangeCallback,
  11. bool autofocus = false,
})

Implementation

CQInputTextView({
  Key? key,
  this.text,
  this.placeholder,
  this.maxLength,
  this.maxLengthAlgorithm, // 最大长度的算法
  this.inputFormatters,
  this.maxLines,
  this.minHeight,
  this.maxHeight,
  required this.textChangeCallback,
  this.autofocus = false, // 如朋友圈文本页面需要直接弹出键盘
}) : super(key: key);