LiQuillTextEditorLabels constructor
const
LiQuillTextEditorLabels({
- String bold = 'Bold',
- String italic = 'Italic',
- String underline = 'Underline',
- String strike = 'Strikethrough',
- String orderedList = 'Ordered list',
- String bulletList = 'Bullet list',
- String alignLeft = 'Align left',
- String alignCenter = 'Align center',
- String alignRight = 'Align right',
- String alignJustify = 'Justify',
- String blockType = 'Block type',
- String fontSize = 'Font size',
- String fontColor = 'Text color',
- String backgroundColor = 'Background color',
- String insertLink = 'Insert link',
- String clearFormatting = 'Clear formatting',
- String table = 'Table',
- String normal = 'Normal',
- String heading1 = 'Heading 1',
- String heading2 = 'Heading 2',
- String heading3 = 'Heading 3',
- String defaultFontSize = 'Default',
- String initializationErrorPrefix = 'Unable to initialize the Quill editor:',
- String editorNotReady = 'The Quill editor is not initialized yet.',
- 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.',
});