MiniTextArea constructor

const MiniTextArea({
  1. Key? key,
  2. String? initialValue,
  3. TextEditingController? controller,
  4. FocusNode? focusNode,
  5. ValueChanged<String>? onChanged,
  6. ValueChanged<String>? onSubmitted,
  7. String? placeholder,
  8. int minLines = 3,
  9. int maxLines = 5,
  10. TextInputAction textInputAction = TextInputAction.newline,
  11. bool enabled = true,
  12. bool autofocus = false,
  13. int? maxLength,
})

Implementation

const MiniTextArea({
  super.key,
  this.initialValue,
  this.controller,
  this.focusNode,
  this.onChanged,
  this.onSubmitted,
  this.placeholder,
  this.minLines = 3,
  this.maxLines = 5,
  this.textInputAction = TextInputAction.newline,
  this.enabled = true,
  this.autofocus = false,
  this.maxLength,
});