EditorSettings constructor
EditorSettings({
- required String parentElement,
- required String fontName,
- required double fontSize,
- required bool isBold,
- required bool isItalic,
- required bool isUnderline,
- required bool isStrikethrough,
- required bool isSuperscript,
- required bool isSubscript,
- required Color foregroundColor,
- required Color backgroundColor,
- required bool isUl,
- required bool isOl,
- required bool isAlignLeft,
- required bool isAlignCenter,
- required bool isAlignRight,
- required bool isAlignJustify,
- required double lineHeight,
- required TextDirection textDirection,
Implementation
EditorSettings({
required this.parentElement,
required this.fontName,
required this.fontSize,
required this.isBold,
required this.isItalic,
required this.isUnderline,
required this.isStrikethrough,
required this.isSuperscript,
required this.isSubscript,
required this.foregroundColor,
required this.backgroundColor,
required this.isUl,
required this.isOl,
required this.isAlignLeft,
required this.isAlignCenter,
required this.isAlignRight,
required this.isAlignJustify,
required this.lineHeight,
required this.textDirection,
});