EditorSettings constructor

EditorSettings({
  1. required String parentElement,
  2. required String fontName,
  3. required double fontSize,
  4. required bool isBold,
  5. required bool isItalic,
  6. required bool isUnderline,
  7. required bool isStrikethrough,
  8. required bool isSuperscript,
  9. required bool isSubscript,
  10. required Color foregroundColor,
  11. required Color backgroundColor,
  12. required bool isUl,
  13. required bool isOl,
  14. required bool isAlignLeft,
  15. required bool isAlignCenter,
  16. required bool isAlignRight,
  17. required bool isAlignJustify,
  18. required double lineHeight,
  19. 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,
});