LiQuillTextEditorLabels constructor

const LiQuillTextEditorLabels({
  1. String bold = 'Bold',
  2. String italic = 'Italic',
  3. String underline = 'Underline',
  4. String strike = 'Strikethrough',
  5. String orderedList = 'Ordered list',
  6. String bulletList = 'Bullet list',
  7. String alignLeft = 'Align left',
  8. String alignCenter = 'Align center',
  9. String alignRight = 'Align right',
  10. String alignJustify = 'Justify',
  11. String blockType = 'Block type',
  12. String fontSize = 'Font size',
  13. String fontColor = 'Text color',
  14. String backgroundColor = 'Background color',
  15. String insertLink = 'Insert link',
  16. String clearFormatting = 'Clear formatting',
  17. String table = 'Table',
  18. String normal = 'Normal',
  19. String heading1 = 'Heading 1',
  20. String heading2 = 'Heading 2',
  21. String heading3 = 'Heading 3',
  22. String defaultFontSize = 'Default',
  23. String quillUnavailable = 'Quill 2.0.3 is not available on window.Quill.',
  24. String initializationErrorPrefix = 'Unable to initialize the Quill editor:',
  25. String editorNotReady = 'The Quill editor is not initialized yet.',
  26. String invalidDelta = 'Invalid delta: the "ops" key is required.',
})

Implementation

const LiQuillTextEditorLabels({
  this.bold = 'Bold',
  this.italic = 'Italic',
  this.underline = 'Underline',
  this.strike = 'Strikethrough',
  this.orderedList = 'Ordered list',
  this.bulletList = 'Bullet list',
  this.alignLeft = 'Align left',
  this.alignCenter = 'Align center',
  this.alignRight = 'Align right',
  this.alignJustify = 'Justify',
  this.blockType = 'Block type',
  this.fontSize = 'Font size',
  this.fontColor = 'Text color',
  this.backgroundColor = 'Background color',
  this.insertLink = 'Insert link',
  this.clearFormatting = 'Clear formatting',
  this.table = 'Table',
  this.normal = 'Normal',
  this.heading1 = 'Heading 1',
  this.heading2 = 'Heading 2',
  this.heading3 = 'Heading 3',
  this.defaultFontSize = 'Default',
  this.quillUnavailable = 'Quill 2.0.3 is not available on window.Quill.',
  this.initializationErrorPrefix =
      'Unable to initialize the Quill editor:',
  this.editorNotReady = 'The Quill editor is not initialized yet.',
  this.invalidDelta = 'Invalid delta: the "ops" key is required.',
});