IoSinkAnsiSink class final
Wraps a Dart IOSink (typically stdout) as an AnsiSink.
This is the only path the framework writes to stdout through on native
platforms; widget code never gets a reference to one of these. Kept apart
from AnsiRenderer so the renderer itself stays free of dart:io and can
compile to the web.
- Implemented types
Constructors
- IoSinkAnsiSink(IOSink _sink)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
flush(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String data) → void -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited