TuiRenderer class abstract TUI
Abstract renderer interface for TUI output.
Renderers are responsible for displaying the view string to the terminal efficiently.
Artisanal supports multiple rendering strategies:
- Standard: Simple ANSI output for basic terminals.
- Ultraviolet: High-performance diff-based rendering with cell buffers.
- ANSI Compression: Minimizes output by removing redundant SGR sequences.
Configure these via ProgramOptions.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- metrics → RenderMetrics?
-
Returns render performance metrics, or null if not supported.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void - Clears the rendered content.
-
dispose(
) → void - Disposes of renderer resources.
-
flush(
) → Future< void> - Flushes any buffered output.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Object view) → void - Renders the view to the terminal.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited