AwsMdEditor constructor
const
AwsMdEditor({
- Key? key,
- EdgeInsetsGeometry padding = const EdgeInsets.all(0.0),
- required TextEditingController? title,
- required TextEditingController content,
- String? hintTitle,
- TextStyle? hintTitleStyle,
- String? hintText,
- TextStyle? hintTextStyle,
- void titleChange(
- String? data
- void contentChange(
- String? data
- Widget? appendBottomWidget,
- Widget? splitWidget,
- FocusNode? titleFocusNode,
- FocusNode? contentFocusNode,
- bool markdownFloatingMenu = true,
- bool markdownContextMenu = true,
- AwsEditFormatMD? formatContent,
- AwsEditFormatMD? formatTitle,
- 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);