EditorValue class

Annotations

Constructors

EditorValue({TextAlign textAlign = TextAlign.center, bool keyboardVisible = false, bool fillTextfield = false, int maxLines = 1, bool hasFocus = false, bool hasStickers = false, bool isEditing = false, bool isStickerPickerOpen = false, bool isColorPickerOpen = false})
const

Properties

convertedMaxLines int?
-ve number as null
no setter
fillTextfield bool
if true, textfield will be filled
final
hasFocus bool
true, if textfield is active/focused
final
hashCode int
The hash code for this object.
no setteroverride
hasStickers bool
true, if editor has stickers
final
isColorPickerOpen bool
true, if color picker is visible
final
isColorPickerVisible bool
true, if color picker is visible currently
no setter
isEditing bool
true, if editing is ongoing
final
isStickerPickerOpen bool
true, if sticker picker is currently open
final
keyboardVisible bool
true, if keyboard is visible
final
maxLines int
Consider -ve as null
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textAlign TextAlign
Alignment of the text
final

Methods

copyWith({TextAlign? textAlign, bool? keyboardVisible, bool? fillTextfield, int? maxLines, bool? hasFocus, bool? hasStickers, bool? isEditing, bool? isStickerPickerOpen, bool? isColorPickerOpen}) EditorValue
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override