discontinuedPackage markdown_editor_ot has been discontinued.

MdEditor constructor

MdEditor({
  1. Key? key,
  2. TextStyle? titleStyle,
  3. TextStyle? textStyle,
  4. EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
  5. String? initTitle,
  6. String? initText,
  7. String? hintTitle,
  8. TextStyle? hintTitleStyle,
  9. String? hintText,
  10. TextStyle? hintTextStyle,
  11. ImageSelectCallback? imageSelect,
  12. VoidCallback? textChange,
  13. Color? actionIconColor,
  14. Color? cursorColor,
  15. Widget? appendBottomWidget,
  16. Widget? splitWidget,
  17. FocusNode? titleFocusNode,
  18. FocusNode? textFocusNode,
  19. ScrollPhysics? physics,
})

Implementation

MdEditor({
  Key? key,
  this.titleStyle,
  this.textStyle,
  this.padding = const EdgeInsets.all(0.0),
  this.initTitle,
  this.initText,
  this.hintTitle,
  this.hintTitleStyle,
  this.hintText,
  this.hintTextStyle,
  this.imageSelect,
  this.textChange,
  this.actionIconColor,
  this.cursorColor,
  this.appendBottomWidget,
  this.splitWidget,
  this.titleFocusNode,
  this.textFocusNode,
  this.physics,
}) : super(key: key);