MarkdownField constructor

const MarkdownField({
  1. Key? key,
  2. TextEditingController? controller,
  3. ScrollController? scrollController,
  4. ValueChanged<String>? onChanged,
  5. TextStyle? style,
  6. bool emojiConvert = false,
  7. VoidCallback? onTap,
  8. TextCapitalization textCapitalization = TextCapitalization.sentences,
  9. bool readOnly = false,
  10. Color? cursorColor,
  11. FocusNode? focusNode,
  12. int? maxLines,
  13. int? minLines,
  14. bool expands = false,
  15. InputDecoration decoration = const InputDecoration(hintText: 'Type here...', isDense: true),
  16. 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),
});