AwsMdEditor constructor

const AwsMdEditor({
  1. Key? key,
  2. EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
  3. required TextEditingController? title,
  4. required TextEditingController content,
  5. String? hintTitle,
  6. TextStyle? hintTitleStyle,
  7. String? hintText,
  8. TextStyle? hintTextStyle,
  9. void titleChange(
    1. String? data
    )?,
  10. void contentChange(
    1. String? data
    )?,
  11. Widget? appendBottomWidget,
  12. Widget? splitWidget,
  13. FocusNode? titleFocusNode,
  14. FocusNode? contentFocusNode,
  15. bool markdownFloatingMenu = true,
  16. bool markdownContextMenu = true,
  17. AwsEditFormatMD? formatContent,
  18. AwsEditFormatMD? formatTitle,
  19. bool undoAndRedo = false,
})

Implementation

const AwsMdEditor({
  Key? key,
  this.padding = const EdgeInsets.all(0.0),
  required this.title,
  required this.content,
  this.hintTitle,
  this.hintTitleStyle,
  this.hintText,
  this.hintTextStyle,
  this.titleChange,
  this.contentChange,
  this.appendBottomWidget,
  this.splitWidget,
  this.titleFocusNode,
  this.contentFocusNode,
  this.markdownFloatingMenu = true,
  this.markdownContextMenu = true,
  this.formatContent,
  this.formatTitle,
  this.undoAndRedo = false,
}) : super(key: key);