AwsMarkdownEditor constructor

const AwsMarkdownEditor({
  1. Key? key,
  2. EdgeInsetsGeometry padding = const EdgeInsets.all(10),
  3. TextEditingController? title,
  4. required TextEditingController content,
  5. String? hintTitle,
  6. String? hintText,
  7. TapLinkCallback? onTapLink,
  8. AwsTabChange? tabChange,
  9. void titleChange(
    1. String? data
    )?,
  10. void contentChange(
    1. String? data
    )?,
  11. TextStyle? hintTitleTextStyle,
  12. TextStyle? hintTextStyle,
  13. Widget? appendBottomWidget,
  14. Widget? splitWidget,
  15. required dynamic imageWidget,
  16. FocusNode? titleFocusNode,
  17. FocusNode? textFocusNode,
  18. bool markdownFloatingMenu = true,
  19. bool markdownContextMenu = true,
  20. void controller(
    1. TabController controller
    )?,
  21. AwsEditFormatMD? formatContent,
  22. AwsEditFormatMD? formatTitle,
  23. bool undoAndRedo = false,
  24. Widget? wait,
})

Implementation

const AwsMarkdownEditor({
  Key? key,
  this.padding = const EdgeInsets.all(10),
  this.title,
  required this.content,
  this.hintTitle,
  this.hintText,
  this.onTapLink,
  this.tabChange,
  this.titleChange,
  this.contentChange,
  this.hintTitleTextStyle,
  this.hintTextStyle,
  this.appendBottomWidget,
  this.splitWidget,
  required this.imageWidget,
  this.titleFocusNode,
  this.textFocusNode,
  this.markdownFloatingMenu = true,
  this.markdownContextMenu = true,
  this.controller,
  this.formatContent,
  this.formatTitle,
  this.undoAndRedo = false,
  this.wait,
}) : super(key: key);