MarkdownEditor constructor

MarkdownEditor({
  1. Key? key,
  2. EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
  3. String? initTitle,
  4. String? initText,
  5. String? hintTitle,
  6. String? hintText,
  7. TapLinkCallback? onTapLink,
  8. ImageSelectCallback? imageSelect,
  9. TabChange? tabChange,
  10. VoidCallback? textChange,
  11. Color? actionIconColor = Colors.grey,
  12. Color? cursorColor,
  13. TextStyle? titleTextStyle,
  14. TextStyle? textStyle,
  15. TextStyle? hintTitleTextStyle,
  16. TextStyle? hintTextStyle,
  17. Widget? appendBottomWidget,
  18. ScrollPhysics? physics,
  19. Widget? splitWidget,
  20. required dynamic imageWidget,
  21. FocusNode? titleFocusNode,
  22. FocusNode? textFocusNode,
})

Implementation

MarkdownEditor({
  Key? key,
  this.padding = const EdgeInsets.all(0.0),
  this.initTitle,
  this.initText,
  this.hintTitle,
  this.hintText,
  this.onTapLink,
  this.imageSelect,
  this.tabChange,
  this.textChange,
  this.actionIconColor = Colors.grey,
  this.cursorColor,
  this.titleTextStyle,
  this.textStyle,
  this.hintTitleTextStyle,
  this.hintTextStyle,
  this.appendBottomWidget,
  this.physics,
  this.splitWidget,
  required this.imageWidget,
  this.titleFocusNode,
  this.textFocusNode,
}) : super(key: key);