MarkdownField constructor
const
MarkdownField({
- Key? key,
- TextEditingController? controller,
- ScrollController? scrollController,
- ValueChanged<
String> ? onChanged, - TextStyle? style,
- bool emojiConvert = false,
- VoidCallback? onTap,
- TextCapitalization textCapitalization = TextCapitalization.sentences,
- bool readOnly = false,
- Color? cursorColor,
- FocusNode? focusNode,
- int? maxLines,
- int? minLines,
- bool expands = false,
- InputDecoration decoration = const InputDecoration(hintText: 'Type here...', isDense: true),
- EdgeInsetsGeometry padding = const EdgeInsets.all(8),
Implementation
const MarkdownField({
super.key,
this.controller,
this.scrollController,
this.onChanged,
this.style,
this.emojiConvert = false,
this.onTap,
this.textCapitalization = TextCapitalization.sentences,
this.readOnly = false,
this.cursorColor,
this.focusNode,
this.maxLines,
this.minLines,
this.expands = false,
this.decoration =
const InputDecoration(hintText: 'Type here...', isDense: true),
this.padding = const EdgeInsets.all(8),
});