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
- italic → const ToolBarStyle
-
italic sets italic format
- underline → const ToolBarStyle
-
underline sets underline to text
- strike → const ToolBarStyle
-
strike makes the selected text strikethrough
- blockQuote → const ToolBarStyle
-
blockQuote converts text to quote
- codeBlock → const ToolBarStyle
-
codeBlock makes selected text code block
- indentMinus → const ToolBarStyle
-
indentMinus decreases the indent by given value
- indentAdd → const ToolBarStyle
-
indentAdd increases the indent by given value
- directionRtl → const ToolBarStyle
-
directionRtl sets the direction of text from Right to Left
- directionLtr → const ToolBarStyle
-
directionLtr sets the direction of text from Left to Right
- headerOne → const ToolBarStyle
-
headerOne makes the text H1
- headerTwo → const ToolBarStyle
-
headerTwo makes the text H2
- color → const ToolBarStyle
-
color sets font color
- background → const ToolBarStyle
-
background sets background color to text
- align → const ToolBarStyle
-
align adds alignment to text, left, right, center, justify
- listOrdered → const ToolBarStyle
-
listOrdered adds numbered/alphabets list to the text
- listBullet → const ToolBarStyle
-
listBullet makes text as bullet points
- size → const ToolBarStyle
-
size sets fontSize of the text
- link → const ToolBarStyle
-
link sets hyperlink to selected text
- image → const ToolBarStyle
-
image embeds image to the editor
- video → const ToolBarStyle
-
video embeds Youtube, Vimeo or other network videos to editor
- clean → const ToolBarStyle
-
clean clears all formats of editor, (for internal use case)
- undo → const ToolBarStyle
-
undo to undo the editor change
- redo → const ToolBarStyle
-
redo to undo the editor change
- clearHistory → const ToolBarStyle
-
clearHistory to undo the editor change
- addTable → const ToolBarStyle
-
addTable to add table to the editor
- editTable → const ToolBarStyle
-
editTable to edit rows, columns or delete table
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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.