MarkdownAutoPreview constructor
const
MarkdownAutoPreview({
- Key? key,
- TextEditingController? controller,
- ScrollController? scrollController,
- ValueChanged<
String> ? onChanged, - TextStyle? style,
- VoidCallback? onTap,
- Color? cursorColor,
- Color? toolbarBackground,
- Color? expandableBackground,
- int? maxLines,
- int? minLines,
- String? markdownSyntax,
- bool emojiConvert = false,
- bool enableToolBar = true,
- bool showEmojiSelection = true,
- bool autoCloseAfterSelectEmoji = true,
- TextCapitalization textCapitalization = TextCapitalization.sentences,
- bool readOnly = false,
- bool expands = false,
- InputDecoration decoration = const InputDecoration(isDense: true),
- 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,
});