SynchronizedUpdate enum

Instructs the terminal to start or end a synchronized update.

A synchronized update is a way to prevent the terminal from rendering intermediate states of a complex update. For example, if you are updating multiple lines of text, you can start a synchronized update, update all the lines, and then end the synchronized update. This will prevent the terminal from rendering the intermediate states of the update.

NOTE: Not all terminals support synchronized updates.

Inheritance
Implemented types

Constructors

SynchronizedUpdate(EscapeSequence _sequence)
const

Values

start → const SynchronizedUpdate

Starts a synchronized update.

const SynchronizedUpdate(EscapeSequence.unchecked('h', prefix: '?', parameters: [2026]))
end → const SynchronizedUpdate

Ends a synchronized update.

const SynchronizedUpdate(EscapeSequence.unchecked('l', prefix: '?', parameters: [2026]))

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toSequence() Sequence
Returns the ANSI escape sequence for this command.
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<SynchronizedUpdate>
A constant List of the values in this enum, in order of their declaration.