EditorSettings class
Class that helps pass editor settings to the onSettingsChange
callback
Constructors
- EditorSettings({required String parentElement, required String fontName, required double fontSize, required bool isBold, required bool isItalic, required bool isUnderline, required bool isStrikethrough, required bool isSuperscript, required bool isSubscript, required Color foregroundColor, required Color backgroundColor, required bool isUl, required bool isOl, required bool isAlignLeft, required bool isAlignCenter, required bool isAlignRight, required bool isAlignJustify, required double lineHeight, required TextDirection textDirection})
Properties
- backgroundColor ↔ Color
-
getter/setter pair
- fontName ↔ String
-
getter/setter pair
- fontSize ↔ double
-
getter/setter pair
- foregroundColor ↔ Color
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAlignCenter ↔ bool
-
getter/setter pair
- isAlignJustify ↔ bool
-
getter/setter pair
- isAlignLeft ↔ bool
-
getter/setter pair
- isAlignRight ↔ bool
-
getter/setter pair
- isBold ↔ bool
-
getter/setter pair
- isItalic ↔ bool
-
getter/setter pair
- isOl ↔ bool
-
getter/setter pair
- isStrikethrough ↔ bool
-
getter/setter pair
- isSubscript ↔ bool
-
getter/setter pair
- isSuperscript ↔ bool
-
getter/setter pair
- isUl ↔ bool
-
getter/setter pair
- isUnderline ↔ bool
-
getter/setter pair
- lineHeight ↔ double
-
getter/setter pair
- parentElement ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textDirection ↔ TextDirection
-
getter/setter pair
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