ToolBarStyle enum
ToolBarStyle an enum with multiple toolbar styles, to define required toolbar styles in custom config
Values
- bold → const ToolBarStyle
-
bold sets bold format
const ToolBarStyle("Bold")
- italic → const ToolBarStyle
-
italic sets italic format
const ToolBarStyle("Italic")
- underline → const ToolBarStyle
-
underline sets underline to text
const ToolBarStyle("Underline")
- strike → const ToolBarStyle
-
strike makes the selected text strikethrough
const ToolBarStyle("Strikethrough")
- blockQuote → const ToolBarStyle
-
blockQuote converts text to quote
const ToolBarStyle("Block Quote")
- codeBlock → const ToolBarStyle
-
codeBlock makes selected text code block
const ToolBarStyle("Code Block")
- indentMinus → const ToolBarStyle
-
indentMinus decreases the indent by given value
const ToolBarStyle("Decrease the indent")
- indentAdd → const ToolBarStyle
-
indentAdd increases the indent by given value
const ToolBarStyle("Increase the indent")
- directionRtl → const ToolBarStyle
-
directionRtl sets the direction of text from Right to Left
const ToolBarStyle("Right to Left")
- directionLtr → const ToolBarStyle
-
directionLtr sets the direction of text from Left to Right
const ToolBarStyle("Left to Right")
- headerOne → const ToolBarStyle
-
headerOne makes the text H1
const ToolBarStyle("Header H1")
- headerTwo → const ToolBarStyle
-
headerTwo makes the text H2
const ToolBarStyle("Header H2")
- color → const ToolBarStyle
-
color sets font color
const ToolBarStyle("Font color")
- background → const ToolBarStyle
-
background sets background color to text
const ToolBarStyle("Background color")
- align → const ToolBarStyle
-
align adds alignment to text, left, right, center, justify
const ToolBarStyle("Alignment")
- listOrdered → const ToolBarStyle
-
listOrdered adds numbered/alphabets list to the text
const ToolBarStyle("Bullet numbers")
- listBullet → const ToolBarStyle
-
listBullet makes text as bullet points
const ToolBarStyle("Bullet points")
- size → const ToolBarStyle
-
size sets fontSize of the text
const ToolBarStyle("Font Size")
- link → const ToolBarStyle
-
link sets hyperlink to selected text
const ToolBarStyle("Hyperlink")
- image → const ToolBarStyle
-
image embeds image to the editor
const ToolBarStyle("Insert image")
- video → const ToolBarStyle
-
video embeds Youtube, Vimeo or other network videos to editor
const ToolBarStyle("Insert Youtube/Url")
- clean → const ToolBarStyle
-
clean clears all formats of editor, (for internal use case)
const ToolBarStyle("Clears all formats")
- undo → const ToolBarStyle
-
undo to undo the editor change
const ToolBarStyle("Undo")
- redo → const ToolBarStyle
-
redo to redo the editor change
const ToolBarStyle("Redo")
- clearHistory → const ToolBarStyle
-
clearHistory to undo the editor change
const ToolBarStyle("Clear History")
- addTable → const ToolBarStyle
-
addTable to add table to the editor
const ToolBarStyle("Add a table")
- editTable → const ToolBarStyle
-
editTable to edit rows, columns or delete table
const ToolBarStyle("Edit table")
- separator → const ToolBarStyle
-
separator to add divider between toolbar items
const ToolBarStyle("separator")
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
The
name
property specifies the name of the toolbar.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ToolBarStyle> - A constant List of the values in this enum, in order of their declaration.