FlarkReader class final

Automatic loading for the dedicated read-only path. One current document, no global content cache and no editing session are retained.

Constructors

FlarkReader(String markdown, {Future<FlarkBackendLease> backendLoader()?, int? syncLimit, FlarkLiveLimits liveLimits = const FlarkLiveLimits()})

Properties

document → FlarkReadDocument?
The current text's projection, once a parser has loaded. Text the parser cannot take is still the document: it is in source mode.
no setter
error → Object?
Why the reader failed, while status is FlarkStatus.failed.
no setter
hashCode → int
The hash code for this object.
no setterinherited
liveLimits → FlarkLiveLimits
final
ready → Future<void>
The current loading attempt; retry starts a new one.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → FlarkStatus
Whether a parser is loading, ready or failed to load. A document the parser refuses does not fail the reader; only a parser that cannot load, or stops working, does.
no setter
syncLimit → int
final

Methods

addListener(void listener()) → void
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(void listener()) → void
retry() → Future<void>
select(FlarkSelection selection) → void
toString() → String
A string representation of this object.
inherited
update(String markdown) → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited