MarkdownTextInput constructor

MarkdownTextInput(
  1. Function onTextChanged,
  2. String initialValue, {
  3. String? label = '',
  4. String? validators(
    1. String? value
    )?,
  5. TextDirection textDirection = TextDirection.ltr,
  6. int? maxLines = 10,
  7. List<MarkdownType> actions = const [MarkdownType.bold, MarkdownType.italic, MarkdownType.title, MarkdownType.link, MarkdownType.list],
  8. TextStyle? textStyle,
  9. TextEditingController? controller,
  10. bool insertLinksByDialog = true,
})

Constructor for MarkdownTextInput

Implementation

MarkdownTextInput(
  this.onTextChanged,
  this.initialValue, {
  this.label = '',
  this.validators,
  this.textDirection = TextDirection.ltr,
  this.maxLines = 10,
  this.actions = const [
    MarkdownType.bold,
    MarkdownType.italic,
    MarkdownType.title,
    MarkdownType.link,
    MarkdownType.list
  ],
  this.textStyle,
  this.controller,
  this.insertLinksByDialog = true,
});