EmbedState class

Holds FocusNode and content for an embed.

Inheritance
Annotations

Constructors

EmbedState({required FocusNode focusNode, required ParagraphEmbedController controller})
Create an embed.
const

Properties

controller ParagraphEmbedController
Editor for the embed.
final
focusNode FocusNode
Manages focus for this paragraph.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createEditor(BuildContext context) Widget
Create an editor for this embed state.
dispose() → void
Discards resources used by this object.
inherited
match<T>({required T line(LineState), required T embed(EmbedState)}) → T
Execute line if this is a LineState and embed if this is an EmbedState.
override
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