MarkdownAutoPreview constructor

const MarkdownAutoPreview({
  1. Key? key,
  2. TextEditingController? controller,
  3. ScrollController? scrollController,
  4. ValueChanged<String>? onChanged,
  5. TextStyle? style,
  6. VoidCallback? onTap,
  7. Color? cursorColor,
  8. Color? toolbarBackground,
  9. Color? expandableBackground,
  10. int? maxLines,
  11. int? minLines,
  12. String? markdownSyntax,
  13. bool emojiConvert = false,
  14. bool enableToolBar = true,
  15. bool showEmojiSelection = true,
  16. bool autoCloseAfterSelectEmoji = true,
  17. TextCapitalization textCapitalization = TextCapitalization.sentences,
  18. bool readOnly = false,
  19. bool expands = false,
  20. InputDecoration decoration = const InputDecoration(isDense: true),
  21. String? hintText,
})

Implementation

const MarkdownAutoPreview({
  super.key,
  this.controller,
  this.scrollController,
  this.onChanged,
  this.style,
  this.onTap,
  this.cursorColor,
  this.toolbarBackground,
  this.expandableBackground,
  this.maxLines,
  this.minLines,
  this.markdownSyntax,
  this.emojiConvert = false,
  this.enableToolBar = true,
  this.showEmojiSelection = true,
  this.autoCloseAfterSelectEmoji = true,
  this.textCapitalization = TextCapitalization.sentences,
  this.readOnly = false,
  this.expands = false,
  this.decoration = const InputDecoration(isDense: true),
  this.hintText,
});