ParagraphState class abstract

Holds state for a paragraph of a document.

Implementers
Annotations

Constructors

ParagraphState({required FocusNode focusNode})
Create a paragraph.
const

Properties

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

Methods

dispose() → void
Discards resources used by this object.
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.
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