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. EdgeInsetsGeometry padding = const EdgeInsets.all(10),
})

Implementation

const MarkdownField({
  Key? 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.padding = const EdgeInsets.all(10),
}) : super(key: key);